mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
39 lines
548 B
YAML
39 lines
548 B
YAML
language: node_js
|
|
node_js:
|
|
- "4"
|
|
- "6"
|
|
- "8"
|
|
- "9"
|
|
|
|
env:
|
|
- CXX=g++-4.8
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-4.8
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.npm
|
|
- node_modules
|
|
|
|
before_install:
|
|
- npm install -g npm@4
|
|
- npm install -g coveralls
|
|
|
|
install:
|
|
- npm prune
|
|
- npm install
|
|
|
|
script:
|
|
# Both test & coverage.
|
|
- npm run travis
|
|
|
|
after_install:
|
|
- coveralls < ./coverage/lcov.info || true # ignore coveralls error
|
|
|
|
# Allow Travis tests to run in containers.
|
|
sudo: false
|