forked from mockito/shipkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (26 loc) · 993 Bytes
/
.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
# More details on how to configure the Travis build
# https://docs.travis-ci.com/user/customizing-the-build/
language: java
matrix:
include:
- jdk: openjdk8
# Sanity regression tests with major supported Gradle versions
env: SHIPKIT_REGRESSION_TESTS=quick
#don't build tags
branches:
except:
- /^v\d/
install:
- export ANDROID_HOME=~/android-sdk-linux
- wget -q "https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip" -O android-sdk-tools.zip
- unzip -q android-sdk-tools.zip -d ${ANDROID_HOME}
- PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools
- yes | sdkmanager --update
- yes | sdkmanager --licenses
- sdkmanager "tools" "ndk-bundle" "build-tools;29.0.0" "platforms;android-29" > /dev/null
before_script:
- _JAVA_OPTIONS=
script:
- ./gradlew build testDownstream -PcheckJava8Compatibility -s && ./gradlew ciPerformRelease -s
after_success:
- bash <(curl -s https://codecov.io/bash)