Permalink
Browse files

CI: Fixed build with Java 7 in Travis CI.

  • Loading branch information...
eseifert committed Sep 21, 2017
1 parent a104715 commit 312ed9e9eafbc1f7c0000a7cefd87a0d1829f5d9
Showing with 4 additions and 1 deletion.
  1. +4 −1 .travis.yml
@@ -4,9 +4,12 @@ language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
before_install:
- sudo wget "https://bouncycastle.org/download/bcprov-ext-jdk15on-158.jar" -O "${JAVA_HOME}/jre/lib/ext/bcprov-ext-jdk15on-158.jar"
- 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
- sudo add-apt-repository ppa:cwchien/gradle -y
- sudo apt-get update -q
- sudo apt-get install gradle -y

0 comments on commit 312ed9e

Please sign in to comment.