Skip to content

Commit

Permalink
Fix Java 7 build on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andham committed Feb 1, 2020
1 parent cce7633 commit 0796894
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# Need trusty distro to work with java <9
dist: trusty
language: java
env:
- MAVEN_VERSION=3.3.9
- MAVEN_VERSION=3.5.4
- MAVEN_VERSION=3.6.0
- MAVEN_VERSION=3.6.3
jdk:
- openjdk7
- openjdk8
- openjdk11
- openjdk-ea
install:
- "mvn -N io.takari:maven:0.4.3:wrapper -Dmaven=${MAVEN_VERSION} -Dhttps.protocols=TLSv1.2"
# Specify version of io.takari:maven that supports Java 7
- "mvn -N io.takari:maven:0.5.0:wrapper -Dmaven=${MAVEN_VERSION} -Dhttps.protocols=TLSv1.2"
- "./mvnw --show-version --errors --batch-mode validate dependency:go-offline"
script:
- "./mvnw --show-version --errors --batch-mode clean verify"
Expand Down

0 comments on commit 0796894

Please sign in to comment.