Changeset c36905a for .travis.yml


Ignore:
Timestamp:
Dec 2, 2017 3:17:06 PM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
60efd0b
Parents:
1ff9e6e
Message:

Travis CI: Use BouncyCastle? as a SecurityProvider? for OpenJDK 7

Workaround for travis-ci/travis-ci#8503, gradle/gradle#2421.
Solution taken from bugsnag/bugsnag-java#66.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r1ff9e6e rc36905a  
    55  - oraclejdk8
    66  - openjdk8
    7   - openjdk7
     7
     8matrix:
     9  include:
     10    - jdk: openjdk7
     11      sudo: required
     12      before_install: # Work around missing crypto in openjdk7
     13        - sudo wget "https://bouncycastle.org/download/bcprov-ext-jdk15on-158.jar" -O "${JAVA_HOME}/jre/lib/ext/bcprov-ext-jdk15on-158.jar"
     14        - sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
     15        - echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security
    816
    917before_cache:
Note: See TracChangeset for help on using the changeset viewer.