forked from google/VoltAir
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
38 lines (33 loc) · 1.38 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
language : cpp
env:
- DISPLAY=:99.0
compiler:
- gcc
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- cat /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install --force-yes -qq p7zip openjdk-7-jdk ant lib32z1-dev lib32stdc++6 #lib32* are needed by Android SDK
- sudo apt-get install --force-yes python2.7
- sudo update-alternatives --display java
- sudo update-alternatives --set java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
- sh -e /etc/init.d/xvfb start
script:
- DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
- export PATH=$PATH:$DIR/travisScripts
- export WORKDIR=$PWD
- echo $PWD
- ./travisScripts/qt-5.8-android
- cat qt-5.8.0-android-travis.env
- ls $QT_ROOT
- source qt-5.8.0-android-travis.env
- export JDK=/usr/lib/jvm/java-7-openjdk-amd64
- echo $PWD
- ls
- build/build_android_debug_travis.py --build-dir=bin --qt-root=$QT_HOME --voltair-root=$PWD --jdk=$JDK --sdk-root=$ANDROID_SDK_ROOT --ndk-root=$ANDROID_NDK_ROOT --ndk-rootR9=$ANDROID_NDK9_ROOT --ant=/usr/bin/ant --liquidfun-root=./third_party/liquidfun/liquidfun --output-apk=VoltAir.apk --num-process=2
notifications:
email: false