-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (31 loc) · 1.48 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:
- oraclejdk8
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 check cobertura
after_script:
- ./cc-test-reporter format-coverage -t cobertura build/reports/cobertura/coverage.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=f7401ac44d15e64e88244daa80670528e2d3e589a1aa8827173ee3135508a95c
notifications:
slack:
secure:
9DPG12dhTVnGI1tBqu7sd9CavNCHg16sgxkoTnFRhZvIxJY+R3wNnKlYqMci5em13lMY6KmFbhwCETcm5AlZ4A9PmMmLwRsVdbNd5z7HgRrDWZb880wcog/eeLuRrOzXod9pLEoQafRxFXvaHkVA/R0UwUSOs0jX7vRjjUlmIKX0fMkSPeS6LEteM+3QvQdRF5d4wRqrXYO5RoBozRe17bCtgJFKmURzNt7ZpUPG++k9kiCsIaZYaLuU2B9QO6mMGcGzSLE+qK5FfWHgd2SdX6zETuquYd1X+ObvfKoT8PUAVHY5BZwDMdZEnp/u67S6o5zv5FNkquiRCbMiFcBD9KM1nsRaNaJqR0Y+W3nz96L2wrRGTKs8VmFh+ppQbIUjNZFqGRISLEwUiLy4ne7UZfaPOTaWkwbIgoupHkqzkT9BxZ9a/hRkTdqAaJRp648f+TF8Q2REZ3AXvXFJzmT8lbNY4QhljdYmdtkNb4RkGw7xMSZYZs2iwmGNgwBCk+O3RcMGsn3R7KpPgJos4JLe6QpCOxTIHeSPPrXg1Ha1hrEkjWMA1NynTNM8lPHZiZyi2cIjhDlBaYP9CNYn4YICZYsVM5FxPxKKa3Wye4ZIwzzw/juPksWGP8D7LdArdXHZLtXf39asEKnpLNK+/fGlwuea4HgkQ3cl0ebAjxHRp2A=