Skip to content

Commit 9c8ced1

Browse files
ahornacetarzanek
authored andcommitted
Enable conditional test runs
1 parent 19839c3 commit 9c8ced1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ env:
2727
# via the "travis encrypt" command using the project repo's public key
2828
- secure: "O_cda5pWDBAP-O3_0nG5RQ"
2929

30-
script: "mvn -DskipTests=true -Dmaven.javadoc.skip=false -B -V compile && cd opengrok-indexer && mvn javadoc:javadoc && cd ../opengrok-web && mvn javadoc:javadoc && cd .. && mvn verify -B"
30+
script: "mvn -DskipTests=true -Dmaven.javadoc.skip=false -B -V compile \
31+
&& cd opengrok-indexer && mvn javadoc:javadoc \
32+
&& cd ../opengrok-web && mvn javadoc:javadoc \
33+
&& cd .. && mvn verify -B -Djunit-force-all=true"
3134

3235
addons:
3336
coverity_scan:

opengrok-indexer/pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,6 @@ Portions Copyright (c) 2017, Chris Fraire <[email protected]>.
431431
<groupId>org.apache.maven.plugins</groupId>
432432
<artifactId>maven-surefire-plugin</artifactId>
433433
<configuration>
434-
<systemPropertyVariables>
435-
<junit-force-all>true</junit-force-all>
436-
</systemPropertyVariables>
437434
<excludes>
438435
<!-- Test helper class with name that confuses surefire -->
439436
<exclude>**/TestRepository.java</exclude>

0 commit comments

Comments
 (0)