Skip to content

Commit

Permalink
Final Project #7 Add Paralled test
Browse files Browse the repository at this point in the history
  • Loading branch information
jona-ort committed May 5, 2020
1 parent f6d997c commit b651223
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,30 @@ language: java
jdk:
- oraclejdk9

env:
- COVERAGE=0.05
- COVERAGE=0.07
- COVERAGE=0.09
- COVERAGE=0.10
- COVERAGE=0.12
- COVERAGE=0.15
- COVERAGE=0.23

install:
- ./gradlew clean jar

script:
- ./gradlew test

after_success:
- ./gradlew jacocoTestReport
- ./gradlew -p ./monolithic/ui check
- ./gradlew -p ./monolithic/service/cart check
- ./gradlew -p ./monolithic/service/user check
- ./gradlew -p ./monolithic/repository/order check
- ./gradlew -p ./monolithic/repository/cart check
- ./gradlew -p ./monolithic/repository/product check
- ./gradlew -p ./monolithic/repository/user check
- find . -name jacocoTestReport.csv|xargs cat|awk -F',' '{print $3" "$4" "$5}'

before_deploy:
- COVERAGE=0.25 ./gradlew test jacocoTestCoverageVerification
#before_deploy:
# - COVERAGE=0.25 ./gradlew test jacocoTestCoverageVerification

deploy:
provider: script
Expand Down

0 comments on commit b651223

Please sign in to comment.