-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
38 lines (31 loc) · 921 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
34
35
36
37
38
language: android
android:
components:
- tools
- build-tools-27.0.3
- platform-tools
- tools
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" >> "$ANDROID_HOME/licenses/android-sdk-license"
- echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" >> "$ANDROID_HOME/licenses/android-sdk-license"
#- touch ~/.android/repositories.cfg
- sdkmanager --list || true
- sdkmanager tools >/dev/null
- sdkmanager "platforms;android-27" >/dev/null
jdk:
- oraclejdk8
sudo: required
dist: trusty
group: stable
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/
- $HOME/.android/build-cache
script:
- cd plugin; ./gradlew check
- $TRAVIS_BUILD_DIR/tests/app/functionalTestStubbed.sh