forked from apollographql/react-apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (46 loc) · 1.75 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
before_deploy:
- npm run deploy
- cd ./npm
deploy:
provider: npm
email: [email protected]
api_key:
secure: jctKs4JKowu1fYaqy2ALIBQAq+yRGVxdDlQGG5rlItmPKLd2mMHZ8Cz/+bew0Y8E9jTCExxGP0tX7HN32RoDWFID7sZspPhEiuh6QKVtyxVoiEyLGiH1qCFYJsD/H8Ms7xVjnNgbqTwj+CiJyPsLjXRahLNn1cAE6E6As9S2QVKc/1O9cLesqRdilZoKcLxSu8ppwxoqvLyOilgg0iiPMepp90B2suLmXht2CPFhDqbWhF8s8IblNB8m6xBLHkH3nrTPTISWjZqSHjKz6rmknrwI9LJQHVXkrB7xEpvIkzTbQWajTdDPkGS6EyZyltIFoEICG9Yecski0wuxRXU64dsrSPcB4vEvJv8qq5LckvqHjT84JTWfKDZl3LjlRJY7Oig5Z93YlnV89W1sMJMQOKzt7XMEMHyER1ja/ZY6SbPfJxer2JIy0MNo1CDNLMDBS1OcmCvw6joZwSBm3sJd9Fe9g898K5UIiY/jRnh6CqG0U9BzY9L2wjtrB3biSF4iIaMZvFF/pwS8JI7MZOdo0bwTJIRqhqDcLpF7nS3+ph0rytemjMhEP4IgVCqXyiBiAAMXtN7D3RWe7E+I4dBvK1Cgdjgp2bNJTcAaBdLsFCiBSkKH0JYAV7mj6nt77EpqEgoyJD+32gSDomzUq2Nxo4USxwiHq5F4vBbX99+XJuw=
on:
tags: true
node: '8'
repo: apollographql/react-apollo
branch: master