Skip to content

Commit e5ae70b

Browse files
committed
fix travis
1 parent 12d8932 commit e5ae70b

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.travis.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
language: android
2+
3+
# Turning off caching to avoid caching Issues
4+
# cache: false
5+
# Using the new Container-Based Infrastructure
6+
sudo: false
7+
8+
env:
9+
global:
10+
# Initiating clean Gradle output
11+
- TERM=dumb
12+
# Amount of memory granted to Gradle JVM
13+
- GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"
14+
# General Android settings used in builds
15+
- ANDROID_TARGET=android-21
16+
17+
before_install:
18+
# Making sure gradlew has executable permissions
19+
- chmod +x gradlew
20+
- wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin
21+
- chmod +x android-ndk-r10c-linux-x86_64.bin
22+
- ./android-ndk-r10c-linux-x86_64.bin | egrep -v ^Extracting
23+
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r10c
24+
- export PATH=${PATH}:${ANDROID_NDK_HOME}
25+
26+
android:
27+
components:
28+
# We are using the latest revision of Android SDK Tools
29+
- platform-tools
30+
- tools
31+
# The BuildTools version we are using for our project
32+
- build-tools-23.0.2
33+
34+
# Additional components
35+
- extra-google-google_play_services
36+
- extra-google-m2repository
37+
- extra-android-m2repository
38+
39+
licenses:
40+
- 'android-sdk-license-.+'
41+
42+
script:
43+
./gradlew :library:clean :library:build

0 commit comments

Comments
 (0)