apollo-server/.travis.yml
2017-01-24 16:32:42 +02:00

22 lines
351 B
YAML

language: node_js
node_js:
- "4"
- "6"
- "7"
cache:
directories:
- $HOME/.npm
install:
- npm install -g npm@4
- npm install -g coveralls
- npm install
script:
# Both test & coverage.
- npm run travis
- coveralls < ./coverage/lcov.info || true # ignore coveralls error
# Allow Travis tests to run in containers.
sudo: false