forked from broo2s/ingress-apk-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 1.83 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
41
language: python
python:
- "3.2"
jdk:
- oraclejdk7
env:
global:
- "ARTIFACTS_AWS_REGION=eu-west-1"
- "ARTIFACTS_S3_BUCKET=ingress-apk-mod"
- secure: "h0SC1XVz6I/MycOqd36mdyhMGqk1AFsMLCP5dU+phm+WhPOq+RCs8fmUq3R1nsnppjn0EuqsBq+dP4CLtVrVc5npuGCmSHrw7a/jti1bHZWXPRxI2rmnZa2r/TzhyzfEDjKcbS7PbPr6iFDMYiqSfT3Mz/X5ooBuiP3ZsIhx4OU="
- secure: "NbeuXbxFhjE1m/9uMy2c96XY6UXEHa9SvgjDw9Ybc6BiRWvYQwhEyZpPMYvteyp3ZhFxHOskkEFhX2oYMr7B7Saab8tp551ylteoEnqGk3r6t/hKn/H/k/K0RLiZJ6CkzVxmyWnIkTcC5QBCYaTJ4Z2/Zg9s1jBY4aWbLrtEbNk="
before_install:
- 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
- sudo apt-get install -qq --force-yes tcl-dev tk-dev
- wget -O android-sdk-linux.tgz http://dl.google.com/android/android-sdk_r22.2.1-linux.tgz
- tar -zxf android-sdk-linux.tgz
- export ANDROID_HOME=`pwd`/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/build-tools/17.0.0/:${ANDROID_HOME}/tools/proguard/bin/
- echo y | android update sdk --filter android-17,platform-tools,build-tools-17.0.0 --all --no-ui --force
- wget http://ingress-apk-mod.o4kapuk.info/files/lib.tar.gz
- tar xvfz lib.tar.gz
- wget http://dekanszn.ru/ingress-latest.apk
install:
- pip install -r requirements.txt --use-mirrors
before_script:
- "gem install travis-artifacts"
script:
- git config --global user.email ""
- git config --global user.name "Ingress apk mod"
- python bin/import_apk.py ingress-latest.apk
- python bin/prepare_lowres.py
- python bin/release.py
after_success:
- "travis-artifacts upload --path ingress-latest-broot-*.apk --target-path builds"
- "travis-artifacts upload --path ingress-latest-broot-*-mute.apk --target-path builds"
branches:
only:
- master
notifications:
email: false