Skip to content

Commit

Permalink
[travis] skip build on JDK6 just run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Sep 14, 2020
1 parent 71e7a11 commit cbd0034
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@ dist: precise

language: java

install: echo "do nada"

addons:
hostname: dd-jmxfetch-testhost
apt:
@@ -39,11 +41,11 @@ matrix:
- DESC="OpenJDK6 testing"
# TLSv1.2 fails
#
- BUILDCMD="mvn install -Dhttps.protocols=TLSv1,TLSv1.1 -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
# - BUILDCMD="mvn install -Dhttps.protocols=TLSv1,TLSv1.1 -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
- TESTCMD="mvn test -B -Dhttps.protocols=TLSv1,TLSv1.1 -Dcheckstyle.skip=true -Dlog4j.configuration=log4j.travis.properties"

script:
- echo "Running $DESC..."
- if [[ -z "${BUILDCMD}" ]]; then (eval $BUILDCMD); fi
- if [[ -z "${TESTCMD}" ]]; then (eval $TESTCMD); fi
- if [[ ! -z "${BUILDCMD}" ]]; then (eval $BUILDCMD); fi
- if [[ ! -z "${TESTCMD}" ]]; then (eval $TESTCMD); fi

0 comments on commit cbd0034

Please sign in to comment.