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
|
||||
sudo: false
|
||||
script: mvn ${JACOCO} test
|
||||
script: mvn -Ptravis ${JACOCO} test
|
||||
matrix:
|
||||
include:
|
||||
# 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>
|
||||
<java.version>1.7</java.version>
|
||||
<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 -->
|
||||
<zxing.version>3.2.2-SNAPSHOT</zxing.version>
|
||||
</properties>
|
||||
|
@ -354,7 +354,7 @@
|
|||
<plugin>
|
||||
<groupId>com.simpligility.maven.plugins</groupId>
|
||||
<artifactId>android-maven-plugin</artifactId>
|
||||
<version>4.3.0</version>
|
||||
<version>4.4.1</version>
|
||||
<extensions>true</extensions>
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -718,6 +718,22 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</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>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in a new issue