Skip to content

Commit

Permalink
Commenting out jdk 11 because of SSLPeerUnverifiedException
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa authored Jun 11, 2020
1 parent 8f61a28 commit 705c770
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,16 @@ jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
# Commenting out openjdk11 for now because of javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
# This is a jdk bug which was fixed in openjdk version "11.0.3" but travis runs openjdk version "11.0.2"
# - openjdk11
- openjdk12
- openjdk13
- openjdk14
before_install:
- echo $JAVA_HOME
- which java
- sudo rm -rf /usr/local/lib/jvm/
- sudo apt-get install -y openjdk-11-jdk-headless
- export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
- which java
- java -version
- $JAVA_HOME/bin/java -version
install :
- mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk -DbatchAnswers=n -Djdk.tls.client.protocols=TLSv1.2
- mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk -DbatchAnswers=n
script:
- mvn install -Djdk.tls.client.protocols=TLSv1.2
- mvn install
deploy:
provider: script
script: ./deploy.sh
Expand Down

0 comments on commit 705c770

Please sign in to comment.