Skip to content

Commit

Permalink
hamcrest#331 Removed Java 1.7 from Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdemaeyer committed Sep 2, 2021
1 parent 019e527 commit 2835692
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,12 @@ language: java

os: linux

# Need to select an older Ubuntu distribution that supports JDK7
dist: trusty

jdk:
- openjdk7
- oraclejdk8
- openjdk8
- oraclejdk9
- openjdk11
- openjdk14

# Workaround to using openjdk7 with Gradle due to security issue:
# https://github.com/gradle/gradle/issues/2421
before_install:
- BCPROV_FILENAME=bcprov-ext-jdk15on-158.jar
- wget "https://bouncycastle.org/download/${BCPROV_FILENAME}"
- sudo mv $BCPROV_FILENAME /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext
- sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
- echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security

script:
- ./gradlew clean build javadoc

0 comments on commit 2835692

Please sign in to comment.