Skip to content

Commit

Permalink
Updated travix.yml bash condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Clayton7510 authored May 7, 2018
1 parent 62a63cb commit 732cfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jdk:
- oraclejdk8
script:
- |
if [ cat gradle.properties | grep -q SNAPSHOT ] && [ $OSSRH_PASSWORD != "false" ]; then
if $OSSRH_PASSWORD && cat gradle.properties | grep -q SNAPSHOT; then
./gradlew clean build alljavadoc uploadArchives jacocoRootReport copySource coveralls -PnexusUsername="${OSSRH_USERNAME}" -PnexusPassword="${OSSRH_PASSWORD}" -Psigning.keyId="" -Psigning.password=""
else
./gradlew check jacocoRootReport copySource coveralls
Expand Down

0 comments on commit 732cfa9

Please sign in to comment.