forked from aeternity/aepp-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 843 Bytes
/
.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
language: node_js
node_js:
- '8'
install:
- npm install
script:
- npm run lint
- npm run unit
- npm run build
deploy:
- provider: script
skip_cleanup: true
script: rsync -r --delete-after -v $TRAVIS_BUILD_DIR/dist/* [email protected]:/var/www/html/identity.aepps.com/
on:
branch: master
- provider: script
skip_cleanup: true
script: rsync -r --delete-after -v $TRAVIS_BUILD_DIR/dist/* [email protected]:/var/www/html/stage-identity.aepps.com/
on:
branch: stage
before_install:
- openssl aes-256-cbc -K $encrypted_0d22c88004c9_key -iv $encrypted_0d22c88004c9_iv
-in aepp-identity-deploy.enc -out aepp-identity-deploy -d
- eval "$(ssh-agent -s)"
- chmod 600 aepp-identity-deploy
- ssh-add aepp-identity-deploy
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config