Skip to content

Commit

Permalink
Simplify Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
leventov committed Feb 23, 2019
1 parent 6a6e296 commit ce9183e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit ce9183e

Please sign in to comment.