Skip to content

Commit

Permalink
Only check last job on master
Browse files Browse the repository at this point in the history
  • Loading branch information
surli committed Apr 5, 2018
1 parent 1316155 commit db939a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chore/travis/travis-jdk9-other-seed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# This script intends to be run on TravisCI
# It executes compile and test goals

source /opt/jdk_switcher/jdk_switcher.sh

jdk_switcher use oraclejdk9 && SPOON_SEED_CU_COMPARATOR=$(( ( RANDOM % 10 ) + 1 )) mvn -Djava.src.version=1.9 test
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
source /opt/jdk_switcher/jdk_switcher.sh
jdk_switcher use oraclejdk9 && SPOON_SEED_CU_COMPARATOR=$(( ( RANDOM % 10 ) + 1 )) mvn -Djava.src.version=1.9 test
fi

0 comments on commit db939a1

Please sign in to comment.