From ce9183e73563b649482e1c7a9d1ee90901bdb913 Mon Sep 17 00:00:00 2001 From: Roman Leventov Date: Sat, 23 Feb 2019 16:09:19 -0300 Subject: [PATCH] Simplify Travis --- .travis.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 277c1c2..3007c92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,5 @@ language: java -install: - # Download dependencies with JDK 8 because Maven Central supports - # TLS 1.2 only but OpenJDK 6 does not. - - export ORIGINAL_JAVA_HOME=$JAVA_HOME - - jdk_switcher use openjdk8 - - mvn install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true - # Restore desired JDK - - export JAVA_HOME=$ORIGINAL_JAVA_HOME +install: mvn install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true addons: apt: packages: