before_install: - wget http://launchpadlibrarian.net/130794928/libc6_2.17-0ubuntu4_amd64.deb - sudo dpkg -i libc6_2.17-0ubuntu4_amd64.deb language: node_js services: - redis-server - mysql - memcached node_js: - '7.4' - '7.0' - '6.0' - '5.0' - '4.0' cache: yarn env: - CXX=g++-5 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-5 os: - linux before_script: - export PATH=$PATH:/usr/local/mysql/bin - mysql -e 'create database mysqlcache;use mysqlcache;SET FOREIGN_KEY_CHECKS=0;DROP TABLE IF EXISTS `test`;CREATE TABLE `test` (`id` int(11) NOT NULL AUTO_INCREMENT,`name` varchar(255) DEFAULT NULL,PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;' after_script: - NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/* && node node_modules/coveralls/bin/coveralls.js < coverage/lcov.info - node benchmark/repeatingquery