-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
19 lines (16 loc) · 1011 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: java
before_install:
- wget -P target/travis https://raw.githubusercontent.com/goodow/maven/master/settings.xml
- 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 > /dev/null; fi
- wget http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
- tar -zxf android-sdk_r22.6.2-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 android-19,build-tools-19.1.0 --no-ui --force > /dev/null
after_success:
- '[ ${TRAVIS_PULL_REQUEST} = ''false'' ] && mvn deploy -Psonatype-oss-release -Dgpg.skip=true
--settings target/travis/settings.xml || mvn verify --settings target/travis/settings.xml'
env:
global:
secure: "HDLOEHztfR+DocYVeiol1MrmNsXbxEPeG4PbeHAVyaKOfq7gIxs9LrqMai+IDA07pYxzfwvePk8xZ2T2ae8aJCb/w+6Q6HmTyfSsHczbX2/JFne9ZFKdUDkxxDtiZ/3CRVBqfhAJcZqwmqStVi9UdlT6dV39hj2ZaR1HjiG46I4="