forked from ukanth/afwall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (47 loc) · 1.43 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
46
47
48
49
50
51
52
53
language: android
jdk:
- oraclejdk8
sudo: false
android:
components:
- tools
- platform-tools
- build-tools-27.0.2
- android-27
- add-on
- extra
licenses:
- '.+'
addons:
apt:
packages:
- libstdc++6:i386
- lib32z1
- build-essential
- autoconf
- automake
- libtool
- expect
- p7zip-full
notifications:
email:
on_success: change
on_failure: always
before_install:
# Install base Android SDK
#- sudo apt-get update -qq
#- sudo apt-get install -qq libstdc++6:i386 lib32z1 build-essential autoconf automake libtool expect
#- curl -L http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2 > ndk.tar.bz2
- curl -L https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip > ndk.zip
- 7z x ndk.zip -o/tmp > nul
#- tar -C /tmp -jxf ndk.tar.bz2
- export NDK_PROJECT_PATH=$PWD
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n504667f4c0de7af1a06de9f4b1727b84351f2910" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
install:
# Ensure Gradle wrapper is executable, download wrapper and show version
- chmod +x ./gradlew; ls -l gradlew; ./gradlew wrapper -v
script:
- make -C external NDK=/tmp/android-ndk-r10e
- ./gradlew clean assembleDebug