mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
parent
bbff0c0349
commit
5fccc6c2d5
14
.travis.yml
Normal file
14
.travis.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
language: java
|
||||||
|
jdk:
|
||||||
|
- oraclejdk8
|
||||||
|
install: true
|
||||||
|
script: mvn clean install -DprocessorIntegrationTest.toolchainsFile=etc/toolchains-travis-jenkins.xml -B -V
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.m2
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- oracle-java8-installer
|
37
etc/toolchains-travis-jenkins.xml
Normal file
37
etc/toolchains-travis-jenkins.xml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF8"?>
|
||||||
|
<toolchains>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<version>1.6</version>
|
||||||
|
<vendor>oracle</vendor>
|
||||||
|
<id>jdk1.6</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-6-openjdk-amd64/</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<version>1.7</version>
|
||||||
|
<vendor>oracle</vendor>
|
||||||
|
<id>jdk1.7</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-7-oracle/</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<version>1.8</version>
|
||||||
|
<vendor>oracle</vendor>
|
||||||
|
<id>jdk1.8</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-8-oracle/</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
|
||||||
|
</toolchains>
|
@ -397,6 +397,8 @@
|
|||||||
<version>${org.apache.maven.plugins.surefire.version}</version>
|
<version>${org.apache.maven.plugins.surefire.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<forkCount>${forkCount}</forkCount>
|
<forkCount>${forkCount}</forkCount>
|
||||||
|
<!-- Travis build workaround -->
|
||||||
|
<argLine>-Xms1024m -Xmx3072m</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user