forked from apollographql/react-apollo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
40 lines (35 loc) · 1.55 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
language: node_js
node_js:
- "4"
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/create-react-app && yarn && cd ../../
script:
- npm test
- coveralls < ./coverage/lcov.info || true # ignore coveralls error
- npm run compile
- npm run bundle
- cd examples/create-react-app && npm test && cd ../../
- npm run filesize
- python node_modules/travis-weigh-in/weigh_in.py ./dist/index.min.js.gz || true # ignore size errors
# Allow Travis tests to run in containers.
sudo: false
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: '4'
repo: apollographql/react-apollo
branch: master