Skip to content

Commit 9f5cd92

Browse files
committed
Add travis config.
1 parent 4da07aa commit 9f5cd92

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.travis.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: java
2+
3+
branches:
4+
excludes:
5+
- gh-pages
6+
7+
notifications:
8+
email: false
9+
10+
before_install:
11+
- wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
12+
- tar -zxf android-sdk_r21.0.1-linux.tgz
13+
- export ANDROID_HOME=~/builds/square/spoon/android-sdk-linux
14+
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
15+
- TOOLS=$(android list sdk --no-ui | grep "Android SDK Platform-tools" | cut -d"-" -f1)
16+
- android update sdk --filter "$TOOLS" --no-ui --force
17+
- SDK=$(android list sdk --no-ui | grep ", API 16," | cut -d"-" -f1)
18+
- android update sdk --filter "$SDK" --no-ui --force

0 commit comments

Comments
 (0)