Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final project 8 travis yaml add jdk10 #8

Merged
merged 11 commits into from
May 7, 2020
24 changes: 23 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
language: java
jdk:
- oraclejdk9
- openjdk10

env:
- COVERAGE=0
- COVERAGE=0.03
- COVERAGE=0.04

install:
- ./gradlew clean jar

script:
- echo 'Tests comming soon'
- ./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

deploy:
provider: script
script: echo 'WIP'
on:
all_branches: true