Skip to content

Commit

Permalink
Fix #11 Test the native mode on TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Jul 2, 2019
1 parent 7e3e865 commit 5cd0952
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
language: java
jdk:
- openjdk8
env:
global:
- GRAALVM_VERSION=19.0.2
- GRAALVM_HOME=/opt/graalvm-ce-$GRAALVM_VERSION
cache:
directories:
- $HOME/.m2/repository
- $HOME/.m2/wrapper
- $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 -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- ./mvnw clean verify -Dnative -Dnative-image.xmx=5g -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<camel.version>3.0.0-M2</camel.version>
<quarkus.version>0.17.0</quarkus.version>
<quarkus.version>0.18.0</quarkus.version>

<version.compiler.plugin>3.8.0</version.compiler.plugin>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down

0 comments on commit 5cd0952

Please sign in to comment.