Skip to content

Commit

Permalink
Uses two step build process on Travis similar to Jenkins pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed May 10, 2022
1 parent 4a7cae0 commit c0a3be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ matrix:

script:
- if [ "$STRUTS_IT" == "true" ]; then
./mvnw clean package verify org.jacoco:jacoco-maven-plugin:report org.jacoco:jacoco-maven-plugin:report-integration org.eluder.coveralls:coveralls-maven-plugin:report -Ptravis-coveralls -DskipAssembly -B;
./mvnw clean install -DskipTests -DskipAssembly -B;
./mvnw test org.jacoco:jacoco-maven-plugin:report org.jacoco:jacoco-maven-plugin:report-integration org.eluder.coveralls:coveralls-maven-plugin:report -Ptravis-coveralls -DskipAssembly -B;
else
./mvnw clean package test -DskipAssembly -B;
fi;
Expand Down

0 comments on commit c0a3be9

Please sign in to comment.