-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (30 loc) · 750 Bytes
/
Copy path.travis.yml
File metadata and controls
39 lines (30 loc) · 750 Bytes
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
language: node_js
node_js:
- '8'
cache:
yarn: true
directories:
- node_modules
- ~/.npm
notifications:
email: false
before_install:
- openssl aes-256-cbc -K $encrypted_56df3f79cf05_key -iv $encrypted_56df3f79cf05_iv -in git_deploy_key.enc -out /tmp/git_deploy_key -d
- chmod 600 /tmp/git_deploy_key
- echo 'echo ${SSH_PASSPHRASE}' > /tmp/askpass && chmod +x /tmp/askpass
- eval "$(ssh-agent -s)"
- DISPLAY=":0.0" SSH_ASKPASS="/tmp/askpass" setsid ssh-add /tmp/git_deploy_key </dev/null
install:
- yarn
script:
- yarn clean
- yarn compile
after_success:
deploy:
provider: script
skip_cleanup: true
script:
- yarn run travis-deploy-once "yarn run release"
branches:
except:
- /^v\d+\.\d+\.\d+$/