forked from rockerhieu/emojicon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (29 loc) · 1.46 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
branches:
only:
- master
language:
- java
before_install:
- if [ `uname -m` = x86_64 ]; then sudo apt-get update; fi
- 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 -zxf android-sdk_r22.3-linux.tgz
- export ANDROID_HOME=`pwd`/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- echo "sdk.dir=$ANDROID_HOME" > local.properties
- echo yes | android update sdk -t tools,platform-tools,extra-android-support,extra-android-m2repository,android-8,android-19
--force --no-ui
- wget http://dl.google.com/android/repository/build-tools_r19.0.1-linux.zip
- mkdir -p $ANDROID_HOME/build-tools
- unzip -qq build-tools_r19.0.1-linux.zip -d $ANDROID_HOME/build-tools/
- mv $ANDROID_HOME/build-tools/android-4.4.2 $ANDROID_HOME/build-tools/19.0.1
- find $ANDROID_HOME/build-tools
- file $ANDROID_HOME/build-tools/19.0.1/aapt
after_success:
- chmod +x initiate-publish.sh
- ./initiate-publish.sh
env:
global:
- secure: JAdhNlGIAHXv0VT0D1IuOZaWbZNvwJn1pruP79wvlqMJwhWq+xVMaCLWtlm3YsbYdkGIYPVYbX5UL6paF0lUbJNeQe20XE7pCMd+pukIsuWXyWuMp020BF2D3hR4hQypPr4PDqdx2sLXCyvUMsR7ZUAEnpqBZN0UsFMcUOFXqmI=
- secure: Dj80D6RHg1tqSfrnS2ySyBt7MTi6D57FwQC3wTnSgKeSTFsILGMVQYLeXZ7KXa8lhiaD5ZkGj/cIUp8VPGVEpb2bw48lyW7GJYlQhxK8dF3qZ/q8JwAsQ+x6YeBkW8V7nTRlAeK1yMiZl5aRz/t9GPHnipU8m2/0bEwqOukCbRw=