Don't do parallel unit tests on travis

This commit is contained in:
James Agnew 2016-08-05 14:06:24 -04:00
parent a3f4864bd6
commit 73c52eb7c5
2 changed files with 13 additions and 8 deletions

View File

@ -20,6 +20,4 @@ before_script:
script:
# - mvn -e -B clean install && cd hapi-fhir-ra && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID clean test jacoco:report coveralls:report
- mvn -e -B clean install && cd hapi-fhir-jacoco && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID jacoco:report coveralls:report
- mvn -e -B -P ALLMODULES,NOPARALLEL clean install && cd hapi-fhir-jacoco && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID jacoco:report coveralls:report

17
pom.xml
View File

@ -1474,7 +1474,6 @@
<configuration> <attach>false</attach> <descriptors> <descriptor>${project.basedir}/src/assembly/hapi-fhir-sample-projects.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> -->
</plugins>
</build>
</profile>
<profile>
<id>SIGN_ARTIFACTS</id>
@ -1569,10 +1568,18 @@
</modules>
</profile>
<profile>
<id>COBERTURA</id>
<modules>
<module>hapi-fhir-cobertura</module>
</modules>
<id>NOPARALLEL</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkCount>1</forkCount>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>