2016-06-10 20:49:01 -04:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "4"
|
2016-11-17 15:49:16 +02:00
|
|
|
- "6"
|
|
|
|
- "7"
|
|
|
|
|
2017-01-24 16:28:09 +02:00
|
|
|
env:
|
|
|
|
- CXX=g++-4.8
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
|
2017-01-24 16:19:46 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.npm
|
2017-01-24 16:47:10 +02:00
|
|
|
- node_modules
|
2017-01-24 16:19:46 +02:00
|
|
|
|
2017-01-24 16:26:50 +02:00
|
|
|
before_install:
|
2017-01-24 16:19:59 +02:00
|
|
|
- npm install -g npm@4
|
2016-06-10 20:49:01 -04:00
|
|
|
- npm install -g coveralls
|
2017-01-24 16:26:50 +02:00
|
|
|
|
|
|
|
install:
|
2017-01-24 16:47:10 +02:00
|
|
|
- npm prune
|
2016-10-05 02:32:12 +03:00
|
|
|
- npm install
|
2016-06-10 20:49:01 -04:00
|
|
|
|
|
|
|
script:
|
2017-01-24 13:23:46 +02:00
|
|
|
# Both test & coverage.
|
|
|
|
- npm run travis
|
2017-01-24 16:26:50 +02:00
|
|
|
|
|
|
|
after_install:
|
2016-06-10 20:49:01 -04:00
|
|
|
- coveralls < ./coverage/lcov.info || true # ignore coveralls error
|
|
|
|
|
|
|
|
# Allow Travis tests to run in containers.
|
2016-07-29 17:03:47 -07:00
|
|
|
sudo: false
|