This repository has been archived by the owner on Aug 21, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
65 lines (65 loc) · 3.29 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
language: android
sudo: false
jdk: oraclejdk8
before_install:
- openssl aes-256-cbc -K $encrypted_2a6d2569bbc7_key -iv $encrypted_2a6d2569bbc7_iv
-in github_deploy_key.enc -out github_deploy_key -d
- chmod +x gradlew
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
install:
- echo yes | sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2"
- echo yes | sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2"
- echo y | android update sdk -u -a -t tools
- echo y | android update sdk -u -a -t platform-tools
- echo y | android update sdk -u -a -t build-tools-25.0.2
- echo y | android update sdk -u -a -t android-25
- echo y | android update sdk -u -a -t extra-google-m2repository
- echo y | android update sdk -u -a -t extra-android-m2repository
env:
global:
- ANDROID_API=22
- EMULATOR_API=21
- ANDROID_BUILD_TOOLS=25.0.2
- ADB_INSTALL_TIMEOUT=5
- secure: DEyRg+B2HVdHpmvz8m0xwqgFfoh7adv/o00EmCe9hJk2AzIgjqSBOwWvh8AOH4+lvctJdutUjb+agyYWLRNsCRTIaMhwAiIw+jk9MR1LqA5vM8Zha/f3POabDJ+/IEgHJXANbls/ro4i1PGppdUObNGsRgg1GmxqNE3M7BfGFnbw/DtXOFMZDUVHqLuqOaUDOThT7uIPgpdPhxpAo4VeNyz8e1QZWPv97DxObXhS1Pq16N1fti3NIH6V0y6SCGg07EhCtq4ihRDqaDKnwygLZpof2supxxQw6ccem3VP6Li9DCgG43PawpmW7rxtfIGgHH3/luRy3b7zY3cEezipJPYYgHfBfBLYgEzCUSdd2SKALUjqyIn3Mj4RXeCIOHsCBAETdwD+p5/q69mcQoa2lFRiLpD9PbuBx3EF77LA8hbAh3tcqNs6NjKyq+D7fF2sXqD0NpRvu1Ls4MzpGYJhpJWiZVSH2C137Dh2MvosVpDXSuYj/ObDReF84Z1SebPr6lKB4RtIH4kKNrSAvp2pjnB0RfIqIycnRHTa/mGLD41bNlSBE6nPogSZ7UNCe+o3XSd4z1OMWZDHYFQ86DBi8oIFm8QPVKNe3AaN6Ri4INpQZ6JyA+jWfxK9J7P+iwm5ApiX7GE9CpCYqpEAY1BeI3JZf5I+j1dF8DOTEmPzfGs=
android:
components:
- tools
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS
- android-$ANDROID_API
- android-$EMULATOR_API_LEVEL
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-19
- sys-img-armeabi-v7a-addon-google_apis-google-$ANDROID_API_LEVEL
- sys-img-armeabi-v7a-addon-google_apis-google-$EMULATOR_API_LEVEL
- build-tools-25.0.2
- android-24
- android-23
- android-22
- sys-img-armeabi-v7a-android-22
- extra-android-support
- extra-android-m2repository
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
notifications:
email: false
deploy:
provider: releases
api_key:
secure: "gHoajgfGdatSHb1G8t3eRLP5vdGlR/YrRfThdpU4D3FDGCdSN1JomFPii/lnIDqWaP943sph/acTZ/jZWbHT02Ms/Jxspr5vFNDIeWbDht00GFIg7KJ0Vw3Vu/miKLp2t+m1TQLkJJeh7dyduuUGD9FKA5VN53mpsgHqGZBA3KRsJpfM6g/R7UC/osBkkSDChBlOF+EQ9pop2dj0kBkImsTyJxIEGP77J489GEbk60ukt0gU1K9fZgbMfIv3PcMYw27JkqSni3ALnUNJM3UBKHeAVKvmE4mZKDYB77IuGb3uryH2cZ9JSlwrhVI1QVCNi0NMpmcuw431IJ9J6C8khr2LknSE9THO1pEM/6dtgGmZYigEM8ebeUBLs5eECmCA8rhJTU3h+etD5uK08mff+p7CHeKL5OIYu5qoulD0grSM49rcI0yJocuznDjjE2Uv879xuHt0sr2tLKs1qB7CZiIGlOzBGvgD9TLJepN12BLFiFYRVzA3rWZBIRKZnbZPfKALDoqiYRz5dOtIKFnn2FJv/aek00Zz71S+bRyj+0GAhD4MBbTHp2ry0WPtnHEjTb8C1NTT5xsCo8aug3/aUp0FoYBhbE7vKJrHm4UX4gkv4DOrzcn4LnCuA7iX/YljKUyQkH1TVrT5/s80C85eb0iS9wqWvttmgAIISe8bFwc="
file_glob: true
file: app/build/outputs/apk/debug/*
skip-cleanup: true
on:
branch: master
repo: open-learning-exchange/take-home
after_success:
- sh set_tags.sh