mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
New profile to limit memory usage in Travis
This commit is contained in:
parent
3b4fc7a244
commit
1fbefcac31
|
@ -1,6 +1,6 @@
|
||||||
language: java
|
language: java
|
||||||
sudo: false
|
sudo: false
|
||||||
script: mvn ${JACOCO} test
|
script: mvn -Ptravis ${JACOCO} test
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# Covers Java 7, Open JDK, and code coverage
|
# Covers Java 7, Open JDK, and code coverage
|
||||||
|
|
20
pom.xml
20
pom.xml
|
@ -95,7 +95,7 @@
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>1.7</java.version>
|
<java.version>1.7</java.version>
|
||||||
<maven.version.min>3.2.1</maven.version.min>
|
<maven.version.min>3.2.1</maven.version.min>
|
||||||
<slf4j.version>1.7.13</slf4j.version>
|
<slf4j.version>1.7.14</slf4j.version>
|
||||||
<!-- This can't reference project.version as some subprojects version differently -->
|
<!-- This can't reference project.version as some subprojects version differently -->
|
||||||
<zxing.version>3.2.2-SNAPSHOT</zxing.version>
|
<zxing.version>3.2.2-SNAPSHOT</zxing.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -354,7 +354,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.simpligility.maven.plugins</groupId>
|
<groupId>com.simpligility.maven.plugins</groupId>
|
||||||
<artifactId>android-maven-plugin</artifactId>
|
<artifactId>android-maven-plugin</artifactId>
|
||||||
<version>4.3.0</version>
|
<version>4.4.1</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
@ -718,6 +718,22 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>travis</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<!-- Limit memory for unit tests in Travis -->
|
||||||
|
<argLine>-Xmx512m</argLine>
|
||||||
|
<forkCount>1</forkCount>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue