apollo-server/.travis.yml

39 lines
540 B
YAML
Raw Normal View History

2016-06-10 20:49:01 -04:00
language: node_js
node_js:
- "4"
2016-11-17 15:49:16 +02:00
- "6"
- "7"
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
- node_modules
2017-01-24 16:19:46 +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
install:
- npm prune
- npm install
2016-06-10 20:49:01 -04:00
script:
# Both test & coverage.
- npm run travis
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.
sudo: false