mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #1419 from hardyoyo/DS-3217-add-rerun-failing-tests-count-to-travis.yml
[DS-3217] added -Dsurefire.rerunFailingTestsCount to .travis.yml
This commit is contained in:
@@ -38,9 +38,10 @@ script:
|
|||||||
# -P !assembly => Skip normal assembly (as it can be memory intensive)
|
# -P !assembly => Skip normal assembly (as it can be memory intensive)
|
||||||
# -B => Maven batch/non-interactive mode (recommended for CI)
|
# -B => Maven batch/non-interactive mode (recommended for CI)
|
||||||
# -V => Display Maven version info before build
|
# -V => Display Maven version info before build
|
||||||
- "mvn clean install license:check -Dmaven.test.skip=false -DskipITs=false -P !assembly -B -V"
|
# -Dsurefire.rerunFailingTestsCount=2 => try again for flakey tests, and keep track of/report on number of retries
|
||||||
|
- "mvn clean install license:check -Dmaven.test.skip=false -DskipITs=false -P !assembly -B -V -Dsurefire.rerunFailingTestsCount=2"
|
||||||
# 2. [Assemble DSpace] Ensure assembly process works (from [src]/dspace/), including Mirage 2
|
# 2. [Assemble DSpace] Ensure assembly process works (from [src]/dspace/), including Mirage 2
|
||||||
# -Dmirage2.on=true => Build Mirage2
|
# -Dmirage2.on=true => Build Mirage2
|
||||||
# -Dmirage2.deps.included=false => Don't include Mirage2 build dependencies (We installed them in before_install)
|
# -Dmirage2.deps.included=false => Don't include Mirage2 build dependencies (We installed them in before_install)
|
||||||
# -P !assembly => SKIP the actual building of [src]/dspace/dspace-installer (as it can be memory intensive)
|
# -P !assembly => SKIP the actual building of [src]/dspace/dspace-installer (as it can be memory intensive)
|
||||||
- "cd dspace && mvn package -Dmirage2.on=true -Dmirage2.deps.included=false -P !assembly -B -V"
|
- "cd dspace && mvn package -Dmirage2.on=true -Dmirage2.deps.included=false -P !assembly -B -V -Dsurefire.rerunFailingTestsCount=2"
|
||||||
|
Reference in New Issue
Block a user