Skip to content

Commit

Permalink
Fix to ensure we only publish snapshots compiled with openjdk-8. (#1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfenne authored and lbergelson committed May 24, 2019
1 parent 1a275e1 commit 2b83a9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ after_success:
- echo "TRAVIS_BRANCH='$TRAVIS_BRANCH'";
echo "JAVA_HOME='$JAVA_HOME'";
if [ "$TRAVIS_BRANCH" == "master" ]; then
./gradlew publish;
if [[ $JAVA_HOME = *java-8-openjdk* ]]; then
./gradlew publish
fi
fi

0 comments on commit 2b83a9f

Please sign in to comment.