-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 1.3 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
language: node_js
dist: trusty
sudo: true
node_js:
- 7.5.0
addons:
apt:
packages:
- python-pip
notifications:
email: false
slack:
rooms:
- gapminder:siB4Z9ymsYR6qHnRPpgUoB2Q#vizabi-spam
on_success: change
on_failure: always
cache:
directories:
- node_modules
before_install:
- npm install -g npm@latest
- sudo pip install s3cmd
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm run build
script:
- npm run deploy
deploy:
skip_cleanup: true
provider: npm
email: [email protected]
api_key:
secure: pVrlHJ0UOKxzsFZ7l0xdOLnso2KMr7KEfak9JzL/6FO5gBu8LmSbo9ApndbkFoJQCqULZbGrD2es4e+MNJBZkEMp+ERTCuUv7D8F5RBOrHV8SIFSl0zu37oSL1ke8OMOdr6+4osHa81RX/yCHx3LxTRz2NN8rgb7SBIBIuVJCmweOgvot9x67598V+MgSz/5afXwiPXouztfpsMUOMY5Z8wfzhhIu92KueU74A7TDN2TbkMpsr8+Cpa0ZVQSln+VGYpbfO8ehQxkNcV7IpxNZHcRtHKQAd8vksywKSgQYUSDZx6vrF3nFpErp5rRf9QrVY3AOriT9Zq2p6KZCRdupySJSDVkK/5oNM3Sh8J36mX4KXdVAg/qJVB7FZkl/qhr8Rdg3Qqs+xRSPfYSu4EHWACTIVkJgXsDopIN5Ie5ebRuXGO/defK7wSMAGYeo79wAyBShhy7HCkhiS+ByzZHVb9uqGp+/ByhWeaeRosfOx7ddqDnYt6OkQluo22akyoE+Eipaqh8Fg+z2MV9HPnXtzMojTJpT30D22iqr/qsANqlp0SGyOlPX9ngfiUS+jL0ZpOlBUmOVvlLwZNMWhJsAAl9i0fiIg961+oMICsgmbyUEQQKIrgEzAtehEmF+j8jiJQPRff8HJExpIzEs03UPxDWmqT9CUvYh+rEi8+Qg/s=
on:
branch: develop
node: 7.5.0
condition: "-e /tmp/deployment.flag"