Permalink
Browse files

CI: Work around missing cryptography in Travis CI's openjdk7 (see gra…

  • Loading branch information...
eseifert committed Sep 21, 2017
1 parent 00af46a commit c24e08a91952a99b8c8b686a1b172335db8cdf87
Showing with 4 additions and 0 deletions.
  1. +4 −0 .travis.yml
View
@@ -10,6 +10,10 @@ before_install:
- sudo add-apt-repository ppa:cwchien/gradle -y
- sudo apt-get update -q
- sudo apt-get install gradle -y
- sudo wget "https://bouncycastle.org/download/bcprov-ext-jdk15on-158.jar" -O "${JAVA_HOME}"/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 \
: # Work around missing crypto in openjdk7
- export PATH=/usr/bin:$PATH # Use gradle from /usr/bin
- gradle --version

0 comments on commit c24e08a

Please sign in to comment.