forked from Project-ARTist/ArtistGui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 987 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
language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- tools
# The BuildTools version used by your project
- build-tools-27.0.3
- platform-tools
- tools # Duplicate `tools` entry is by reason
# The SDK version used to compile your project
- android-25
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
- /usr/local/android-sdk/
install:
# List and delete unnecessary components to free space
- sdkmanager --list || true
- echo yes | sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2"
- echo yes | sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2"
script:
- ./gradlew build connectedCheck