-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (23 loc) · 1.53 KB
/
.travis.yml
File metadata and controls
23 lines (23 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: java
env:
global:
- CC_TEST_REPORTER_ID=eb500e57def8303f3afdd0398cac25031a15a91c1b8f7d43cda07b75ca651647
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/
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:
- gradle cobertura
after_script:
- ./cc-test-reporter format-coverage -t cobertura build/reports/cobertura/coverage.xml # Convert build/reports/cobertura/coverage.xml into coverage/codeclimate.json
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./cc-test-reporter upload-coverage; fi #Upload coverage/codeclimate.json
notifications:
slack:
secure: ITR/HRCWK1livnC4XUSUocCFDdIhwGjr7b+0qQ4fEkytZadOQEHRRZq34mAlf8fCBHpkvOcTOOhBgtn9z/LYk/UZMOlZ/3aHPcCJ3gZWuvWGYe/5FgVFxNt3tn5aklATrv68vsJMyppNK/fIlhiXgyxILyFY7PMYBcxVCi4jY6J2BJI+5/UDDoO86ve6nZwtj3D4b1B7C6XLQNKacNK2266zjrHaLaEeYmoss8hsq73KdhSCWtaR26TV3vz8SONe+U0v+NMGnk+xim7nRaZO3IOSAX0GPaUvpOdAZYvxPR8zjS2rmgIMemKxr4xwqCmNbOh25nKAQjYTZ4PJ1d86K+yenmYt9w54oNPA7MjmTpr0F3wNxSU9yzqjcj7Hn3NniTn5o5DzTdgLzqKoxnJckxHm//Yto3cUeouk8fqGJmFF++zadnF1QLHaGe2TnotpiY92tJkuNl1q0OjBjIcD+ZS+p1YZzIlLqfCuxmxE+z5bl+gMtRXwvFTvdlrTG5AyEF7DDwDnVIcJATIE0jyvIGbDVVYyq9smPLLo0Yml35GFpPdqBF7Oxod9RWpVIdW/RFBT0m8U4COp42PWBuNuIr+uft0qOU+ZD0ZFwOl13JLK6ex2XJtSdxTALI4WeC5fYaEzCWuPhlsmC9g5EecC6NdOqoHNeB7yaeKSZi3k5Ow=