Skip to content

Commit

Permalink
fix(ci): travis auth (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
artyorsh authored and malashkevich committed Feb 26, 2019
1 parent 2527260 commit bf65ddb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
sudo: false
language: node_js
node_js:
- '8'

- '8'
env:
matrix:
- MODE=lint
- MODE=build
- MODE=test

- MODE=lint
- MODE=build
- MODE=test
matrix:
fast_finish: true

branches:
only:
- next

- fix/travis
before_install:
- openssl aes-256-cbc -K $encrypted_d1ce48b9cbe6_key -iv $encrypted_d1ce48b9cbe6_iv
-in travis_deploy_key.enc -out /tmp/travis_deploy_key -d
- chmod 600 /tmp/travis_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/travis_deploy_key </dev/null
install:
- npm install

- npm install
script:
- scripts/ci/travis-ci-script.sh
- scripts/ci/travis-ci-script.sh
Binary file added travis_deploy_key.enc
Binary file not shown.

0 comments on commit bf65ddb

Please sign in to comment.