mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
22 lines
351 B
YAML
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
|