Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Turpitko committed Dec 13, 2018
1 parent 2e677fb commit 9beb379
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ cache:
- node_modules
before_install:
- openssl aes-256-cbc -K $encrypted_e3f7a195a1ba_key -iv $encrypted_e3f7a195a1ba_iv
-in id_rsa_travis.enc -out id_rsa_travis -d
- chmod 600 id_rsa_travis
-in id_rsa_travis.enc -out /tmp/id_rsa_travis -d
- chmod 600 /tmp/id_rsa_travis
after_success:
- >
[ "$TRAVIS_TAG" == "" ]
&& [[ "$TRAVIS_COMMIT_MESSAGE" != *"[Travis]"* ]]
&& git checkout master
&& npm version patch -m "%s [Travis]"
&& eval "$(ssh-agent -s)"
&& ssh-add id_rsa_travis
&& ssh-add /tmp/id_rsa_travis
&& git push --follow-tags git@github.com:letsrock-today/mock-local-storage.git HEAD:master
- rm /tmp/id_rsa_travis
deploy:
skip_cleanup: true
provider: npm
Expand Down

0 comments on commit 9beb379

Please sign in to comment.