-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy path.travis.yml
40 lines (35 loc) · 1.24 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
language: android
jdk: oraclejdk8
sudo: required
android:
components:
- tools
- platform-tools
- tools
- build-tools-25.0.2
- android-22
- android-25
- sys-img-armeabi-v7a-android-22
- extra-android-m2repository
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install libstdc++6
- git clone --depth=1 https://github.com/urho3d/android-ndk.git $HOME/android-ndk-root;
export ANDROID_NDK_HOME=$HOME/android-ndk-root;
#git clone --depth=1 https://github.com/taka-no-me/android-cmake.git $HOME/android-cmake;
#export TOOLCHAIN_PATH=$HOME/android-cmake/android.toolchain.cmake;
- wget https://github.com/Commit451/android-cmake-installer/releases/download/1.1.0/install-cmake.sh;
chmod +x install-cmake.sh;
./install-cmake.sh;
before_script:
# Create and start emulator
#- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
#- emulator -avd test -no-skin -no-audio -no-window &
#- android-wait-for-emulator
#- adb shell input keyevent 82 &
script: cd android && ./gradlew clean build