This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push: new 8eea15e Use docker-build in travis #29 8eea15e is described below commit 8eea15e12004d318f0071e868f7cf456a846965f Author: lburgazzoli <lburgazz...@gmail.com> AuthorDate: Wed Jul 3 10:42:55 2019 +0200 Use docker-build in travis #29 --- .travis.yml | 13 +++---------- README.adoc | 6 ++---- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee31f9a..46b782a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,8 @@ +services: + - docker language: java jdk: - openjdk8 -env: - global: - - GRAALVM_VERSION=19.0.2 - - GRAALVM_HOME=/opt/graalvm-ce-$GRAALVM_VERSION cache: directories: - $HOME/.m2/repository @@ -12,10 +10,5 @@ cache: - $GRAALVM_HOME # skip the built-in install step install: true -before_script: - - if [ ! -f "$GRAALVM_HOME/bin/java" ]; then - curl -L https://github.com/oracle/graal/releases/download/vm-${GRAALVM_VERSION}/graalvm-ce-linux-amd64-${GRAALVM_VERSION}.tar.gz | tar xvz -C $(dirname $GRAALVM_HOME); - $GRAALVM_HOME/bin/gu install native-image; - fi script: - - ./mvnw clean verify -Dnative -Dnative-image.xmx=5g -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + - ./mvnw clean verify -Dnative -Dnative-image.docker-build=true -Dnative-image.xmx=5g -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn diff --git a/README.adoc b/README.adoc index c833b99..92bce43 100644 --- a/README.adoc +++ b/README.adoc @@ -27,9 +27,7 @@ Prerequisites: * Java 8 * Maven 3.5.4+ or you can use the provided Maven Wrapper, a.k.a. `mvnw` -* GraalVM -** Check link:.travis.yml[.travis.yml] for the version and steps to install -** Set the `GRAALVM_HOME` environment variable to point at the root directory of your GraalVM installation +* Docker Fast build without tests: @@ -49,7 +47,7 @@ Build with tests in JVM mode and native mode: [source,shell] ---- -./mvnw clean install -Dnative -Dnative-image.xmx=5g +./mvnw clean install -Dnative -Dnative-image.docker-build=true -Dnative-image.xmx=5g ----