-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (31 loc) · 1.53 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: java
jdk:
- openjdk11
install:
- ./gradlew assemble
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- ./gradlew test jacocoTestReport
after_script:
- JACOCO_SOURCE_PATH=src/main/java ./cc-test-reporter format-coverage -t jacoco build/reports/jacoco/test/jacocoTestReport.xml
- ./cc-test-reporter upload-coverage
branches:
only:
- master
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
global:
- CC_TEST_REPORTER_ID=8d41fdd063caf9031d95198502ac1ee1c821d9235deb0be74c51544cc09249ef
notifications:
slack:
secure:
Lac5cVYVZP/ZIJMdEvi/j0kVimWIPps0j0n6bSazcQd7eEq0ATIfR2gYnMYx6BFj5sKjcjhb7IYFLXgeoU70VacN1ZCfBzmKsuz0C0IMvIXXRkICXk8efbfAbJue4kb9Onj86fmtEjGUlMikhuTklql8I6c2To646Fv1Pddd28K1cihZ0RidGVGPpwjcPhQ4WVaXw0g6omBCZp23XBRVRH0abgZUkg47CRWBaYez5V+XVzm6eE3q7vq7T1570f7zwLK9mucbFGu49/xhfhqwmCDFdVtAjpw2HUAwManjXo5NMFhPZVL0WPOF0Qli4dlAY3om4o91DtaCo8R335HzPh9635jPoqPwNKcSOJsLnZHr4hlU/vH3q2eGUunQO9/KLkP0E8haeVBdAphEXWDVMR91hrm1YpreWrREot94bOmO1YXsqcE+U7IkIDqBBEODfvULMeNbgxDyKEeNLA9Wyef0XuDb+hbfomhMKXYPCqYiCHpSlAOmQocafmytiFU1l3MeEqFFqR+NvcL6+ehDQ+4ce1MENXX+crPSGPu9GPloT5owUToJ5r8IbEYwUbUNvGQHcynlOGRG+TVAvT3plTKIcFiuxCqaCLrZQYtSYMTxzgZwehz1xWHdnQXR350wFpLo4i7sheotG+Si5sqvwlVX+6baFG62xMWP2BdoKYI=