forked from cats-oss/android-gpuimage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 1.17 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
language: android
# Turning off caching to avoid caching Issues
# cache: false
# Using the new Container-Based Infrastructure
sudo: false
env:
global:
# Initiating clean Gradle output
- TERM=dumb
# Amount of memory granted to Gradle JVM
- GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"
# General Android settings used in builds
- ANDROID_TARGET=android-21
before_install:
# Making sure gradlew has executable permissions
- chmod +x gradlew
- wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin
- chmod +x android-ndk-r10c-linux-x86_64.bin
- ./android-ndk-r10c-linux-x86_64.bin | egrep -v ^Extracting
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r10c
- export PATH=${PATH}:${ANDROID_NDK_HOME}
android:
components:
# We are using the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version we are using for our project
- build-tools-21.1.2
# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
licenses:
- 'android-sdk-license-.+'
script:
./gradlew :library:clean :library:build