Skip to content

Commit

Permalink
deploy only if secure env vars are present
Browse files Browse the repository at this point in the history
  • Loading branch information
Cihat Keser committed Mar 28, 2016
1 parent 4b16bc9 commit 9f18338
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ before_install:

after_success:
- mvn clean cobertura:cobertura coveralls:report
- mvn clean deploy --settings settings.xml -DskipTests=true -B -Psign-artifacts
- test $TRAVIS_SECURE_ENV_VARS != false \
&& mvn clean deploy --settings settings.xml -DskipTests=true -B -Psign-artifacts

0 comments on commit 9f18338

Please sign in to comment.