-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
71 lines (62 loc) · 2.64 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
language: python
python:
- "3.2"
jdk:
- oraclejdk7
env:
before_install:
- sudo apt-get update -qq
- uname -a
- cat /etc/lsb-release
- 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
#- sudo apt-get install python-yaml
- sudo apt-get install build-essential python-yaml cmake subversion wget python-setuptools mercurial git-core python3-yaml gcc make
#- 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
# - ls -lah
## Compile, Sign, Uinstall versi lama, Install versi baru, Start versi baru --- Yusuf Hadiwinata
#- echo " "
#- echo "Build" | grep Build --color
#- java -jar apktool.jar b ingress-1.37.2-broot-1.0.2.13
#- echo " "
#- echo "Sign" | grep Sign --color
#- ./sign_apk.py ingress-1.37.2-broot-1.0.2.13/dist/ingress-1.37.2-broot-1.0.2.13.apk
#- echo " "
#- echo "Copying" | grep Copying --color
#- cp ingress-1.37.2-broot-1.0.2.13/dist/ingress-1.37.2-broot-1.0.2.13.apk /home/yusuf/Android/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/
#- echo " "
#- echo "Uninstall Old App" | grep 'Uninstall Old App' --color
#- adb shell pm uninstall -k com.nianticproject.ingress
#- echo " "
#- echo "Install New App" | grep 'Install New App' --color
#- adb install ingress-1.37.2-broot-1.0.2.13/dist/ingress-1.37.2-broot-1.0.2.13.apk
#- echo " "
#- echo "Starting New App" | grep 'Starting New App' --color
#- adb shell am start -a android.intent.action.MAIN -n com.nianticproject.ingress/com.nianticproject.ingress.NemesisActivity
before_script:
#- "gem install travis-artifacts"
script:
- git config --global user.email ""
- git config --global user.name "isnuryusuf"
# - python bin/import_apk.py ingress-latest.apk
# - python bin/prepare_lowres.py
# - python bin/release.py
- cp apktool.jar.file apktool.jar
- java -jar apktool.jar b ingress-1.37.2-broot-1.0.2.13
- python sign_apk.py ingress-1.37.2-broot-1.0.2.13/dist/ingress-1.37.2-broot-1.0.2.13.apk
- ls -lah ingress-1.37.2-broot-1.0.2.13/dist/ | grep ingress --color
after_success:
branches:
only:
- master
notifications:
email: false