better travis

This commit is contained in:
Lorin Werthen 2016-10-06 11:38:25 +02:00
parent e5d17b5c33
commit 1cc61ff791

View file

@ -19,4 +19,4 @@ script:
after_success: after_success:
- mv deploy_key ~/.ssh/id_rsa - mv deploy_key ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa
- '[[ $TRAVIS_BRANCH == "master" ]] && bundle exec nanoc deploy public' - '$TRAVIS_PULL_REQUEST || [[ $TRAVIS_BRANCH == "master" ]] && bundle exec nanoc deploy public'