forked from openxc/openxc-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (23 loc) · 1.25 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
language: java
before_install:
# Maven 3.1.1
- wget http://www.us.apache.org/dist/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz
- tar xvf apache-maven-3.1.1-bin.tar.gz > /dev/null
- export MVN_HOME=`pwd`/apache-maven-3.1.1
- export PATH=${MVN_HOME}/bin/:${PATH}
- mvn --version
# download the latest android sdk and unzip
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi
- wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz
- tar xzf android-sdk_r22.3-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-19,extra-android-support,extra-android-m2repository --no-ui --force > /dev/null
- cp -R $ANDROID_HOME/extras/android/m2repository/com ~/.m2/repository
install:
- mvn install -DskipTests=true
notifications:
hipchat:
- secure: "SYNsoAV2/tvC7l4IdJxBHjczthLuuOCJ3zruu55MN3EYomf25tlRed8msuVU\nv7n8sYWcPjiUI5lbHzQTKU0PT1+arlBMwRhPMG719ID3BcmufXqVys4yzn+K\nAL3YaDONClJRaNbuaqVpz7l97jvsN/VGYbKCGvymiGf6sKu6T4Y="