forked from apollographql/react-apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 882 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: node_js
node_js:
- "8"
cache:
directories:
- $HOME/.npm
- $HOME/.yarn-cache
- node_modules
before_install:
- npm install -g npm@^3 --cache-min 999999999
- npm install -g coveralls --cache-min 999999999
- time npm i -g yarn --cache-min 999999999
install:
- npm install
- cd examples/typescript && npm i && cd ../../
- cd examples/base && npm i && cd ../../
# - cd examples/ssr && npm && cd ../../
# XXX install meteor
# start meteor app for integration testing
script:
- npm run danger
- npm test
- coveralls < ./coverage/lcov.info || true # ignore coveralls error
- npm run compile
- npm run bundle
- cd examples/base && npm test && cd ../../
- cd examples/typescript && npm test && cd ../../
# XXX test SSR
- npm run filesize
# Allow Travis tests to run in containers.
sudo: false
notifications:
email: false