This is an automated email from the ASF dual-hosted git repository. fanningpj pushed a commit to branch 2.5 in repository https://gitbox.apache.org/repos/asf/incubator-pekko-samples.git
commit 9e62a7c56bd5a22e2eecc05ea48410ce3f70b59a Author: Arnout Engelen <[email protected]> AuthorDate: Mon Aug 12 15:49:39 2019 +0200 Get JDK from jabba (#118) --- .travis.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69a60e5..ca44087 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,10 @@ sudo: false language: scala scala: - - "2.12.6" + - "2.12.8" -jdk: - - oraclejdk8 +install: + - $JABBA_HOME/bin/jabba install $TRAVIS_JDK && export JAVA_HOME="$JABBA_HOME/jdk/$TRAVIS_JDK" && export PATH="$JAVA_HOME/bin:$PATH" && java -Xmx32m -version before_cache: - find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete @@ -16,14 +16,19 @@ cache: - $HOME/.ivy2/cache - $HOME/.sbt - $HOME/.m2/repository + - $HOME/.jabba/jdk before_install: + - curl -sL https://raw.githubusercontent.com/shyiko/jabba/0.10.1/install.sh | bash && . ~/.jabba/jabba.sh - wget https://archive.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.zip - unzip -qq apache-maven-3.5.4-bin.zip - export M2_HOME=$PWD/apache-maven-3.5.4 - export PATH=$M2_HOME/bin:$PATH env: + global: + - [email protected] + - JABBA_HOME=/home/travis/.jabba matrix: - CMD="cd akka-sample-camel-java && sbt test" - CMD="cd akka-sample-camel-scala && sbt test" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
