forked from ukanth/afwall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (42 loc) · 1014 Bytes
/
.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
language: android
jdk:
- oraclejdk8
sudo: false
android:
components:
- tools
- platform-tools
- build-tools-25.0.0
- android-25
- add-on
- extra
licenses:
- '.+'
addons:
apt:
packages:
- libstdc++6:i386
- lib32z1
- build-essential
- autoconf
- automake
- libtool
- expect
- unzip
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
- tar -C /tmp -jxf ndk.tar.bz2
- export NDK_PROJECT_PATH=$PWD
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-r9
- ./gradlew clean assembleDebug