forked from aredotna/ervell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 1.33 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
language: node_js
node_js:
- '8'
script:
- make test
before_deploy:
- if [ $TRAVIS_BRANCH = 'master' ]; then APP_NAME=ervell-staging S3_BUCKET=ervell-staging
yarn predeploy; fi
- if [ $TRAVIS_BRANCH = 'deploy' ]; then APP_NAME=ervell S3_BUCKET=ervell-production
yarn predeploy; fi
deploy:
provider: heroku
skip_cleanup: true
api_key:
secure: PqxxVq3MouZFAIn0+Su20hfxQ5s9qyb/iXQnK7uLS3GPweYwuHi3BO/VrUWZFujyAgHLBms6TDOGmVDkKEYyCGTH0Eok01a4/tfU91e8NeFdMPlD35NUIcQ1+wVPI6p5H2T1GEhHpoX9EIXbsXt7l78Nd+axT7kAEInMCqHVUdU=
app:
master: ervell-staging
deploy: ervell
env:
global:
- secure: WJGcHqZmm2PTFcuyT9HMcJYp2Oosb9VCyZxAQ56Y/PAChM6uhvWryJlTQdaOymXpbOHLXv0X3zE3tbmJhH7i1f2cgQpXV9fzgqx35zGxVcgGLWMSerEw77828/ZBVlhbhYX9o0gUel0Z3Rz4U5LOw4Uy4YgBQab3Q/W8Qf04vj4=
- secure: D6goSBaFU2y6Ql56WYj6RE1XW5dbKUoZXEHBcVMIoZSgG9ejd/N7G4nBoo6bOoXzVQhYLPI2fINmkJeZVeYfpWxE84cLX2zPPiRixE8/xJzf68MGcB4x6YobN+n2zoOxRe9N1n0CmHt7kwKzYuCpoXMcYraL5PIi+8nzSx9Ppjo=
- secure: gxR3XdjZPUFQ4OpHowZY7qcckZCkwYiDT9sHYLPcfxpGRu0VzV7ZMVfAt3yP/Ar1pnSI8BCc/slTwREu0ricV4AfVdOc8Bi+eWQBhAr4pAksN/dhJI7O5yxG75v1O49Qu4DXlYBix6xPvzCDodsWzfWdRTKcJNwgr54w0ocGWvw=
notifications:
slack:
secure: H3VQ6R1DXG6exptAbzUo93ia4JkkDWLmd7vQU60FM4pxyjhw9almd+K2GMR5QDMhqUP3Pb/m+pHOwhLWEVHTWhT5jqYW6IzwU0X0AHMK2q5pUtSCitL6I42YPpOGdd6kQzC5h/qpojoaTJgvFTIf4js8HeEYPImfzDV4AeDrQMs=