forked from EliFUT/android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (38 loc) · 1.81 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
39
40
41
42
43
44
45
46
47
48
49
language: android
android:
components:
- tools
- platform-tools
- build-tools-27.0.3
- android-27
- extra-google-google_play_services
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository
before_install:
- yes | sdkmanager "platforms;android-27"
jdk:
- oraclejdk8
branches:
except:
- gh-pages
notifications:
email: false
script:
- ./gradlew check --stacktrace
# - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
sudo: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
global:
- CC_TEST_REPORTER_ID: 725964458d58dc4f2ad07041be99916c647627b20659efaa3d20e8da2e186a70
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
- secure: "xBlqjMZ1ROv12GaYdgM/urjVHB54qeh1tKJGGrYrQUGvioZlOwr+7EJU7WQnYnmTCSifWEFh0ah1j1KdQ0567u+4fxHcbYbEooYTKHAin8GXkK1EX8ZHRrR4b5Svf7Ioq7c3GGjriOoL55br5ZYUboUCIqhU8Pdf90vBTo2Bvy780TEWxheWF75HmDqVwhQK1xteA+05iGNjU9cWDqJUN8z1CNbPUo3JpSXwDZ2nPm2gIx22OxlltQH/gMOs6Tixj0X9JzlYoK3s7epKfStu8icZwnEsRXNr8oaesC0cR641kedMRUuH3lIwVyndptiLjG/DdGW3zt2JMg28LFMvUka6KAZjr1YAsvR3vSBZyncbIfwIpskyfY55yb8kgzDtkQ6JxIc62T4IYD/wrLEBzErJEVXXVBs3C6hyOcyHTkC+pCBmNQf1q1tQSI8CrUhfevXI8UWsYiFJo0bEUMYTLuDx1wVfSDx2rBbRpMMqzNDtjUo8fSGvSI8d2TpVt/6G/ssmR3EeEG5Uq8Vxn7SV6IxRYsOelMqJrVnoyBrlXCppY7EhZE/qEV/Gb/JluY6bkIAyxEVrEGiXMz+cFJiMeBGWNAmva6Mek95f0RxpRRj7Cq7ujOmMsixHKVOSBjcg8Scz82k4fvJ7Cg0psnND+cpY97EKVB1q8T5QY+MyYVQ="