forked from square/spoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (34 loc) · 1.12 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
language: android
android:
components:
- tools
- platform-tools
- build-tools-26.0.2
jdk:
- oraclejdk8
before_install:
# Install SDK license so Android Gradle plugin can install deps.
- mkdir "$ANDROID_HOME/licenses" || true
- echo "8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
script:
- ./gradlew build --no-daemon
after_success:
- .buildscript/deploy_snapshot.sh
env:
global:
- secure: "YpBKpOdLkn4kcnzTUcOdupPV8zEDpUGLGkY5Z9mAtnZibOWnX+6MuQExkmi4Bd+uAHPB6QKP4AELiGv9udjE1UMtVUwZpb0hZ5XTo+kV4mOEvIS6FJAXwEqelyuqrtjo/QqnlWHmA579y2UBqFLzv1coiapKTNz3kwbUd9oMCr4="
- secure: "fAdMvu5VpVXEelBwGcIMMLg7zTol2DDrU7e+XKP8NTJYw0A7HOdDl5KB3uP2Lgb8lGMEIJ3Xin5AQNxuBmyQ4zP43Xjixs/rW/LqNdctvY8RmuI6PFJKm0QGsDni62iOKqqf681tjB3tDmRymEU14WQ5y81GGwDQ8GmqmI4U7h4="
branches:
except:
- gh-pages
notifications:
email: false
sudo: false
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