forked from cucumber/cucumber-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 3.92 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
language: android
jdk: oraclejdk8
sudo: false
android:
components:
- build-tools-28.0.3
- android-21
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.android/build-cache"
before_install:
- yes | sdkmanager tools
- yes | sdkmanager "platform-tools"
- yes | sdkmanager "emulator"
- yes | sdkmanager "build-tools;28.0.3"
- yes | sdkmanager "system-images;android-21;default;armeabi-v7a"
- echo no | avdmanager create avd --force -n test -k "system-images;android-21;default;armeabi-v7a"
-c 200M
- "$ANDROID_HOME/emulator/emulator -avd test -skin 1920x1080 -no-audio -no-window
-no-boot-anim &"
- continuous-deployment/setup-environment.sh
install:
- "./gradlew clean test"
before_script:
- android-wait-for-emulator
- adb shell input keyevent 82
- adb logcat *:e &
- adb shell settings put secure long_press_timeout 1500
script:
- "./gradlew runInstrumentationTests"
deploy:
skip_cleanup: true
provider: script
script: "./gradlew publishToNexus closeAndReleaseRepositoryIfRelease --stacktrace --debug --info"
on:
branch: master
env:
global:
- secure: Cekskn1AHZq2BXbJAb/tg3BDVoVNEdtfv0zlVsQizjxhbPXlYUmxSF/QoefVKgXWVtyV59qM6L7fCfGqPLRjwnzHyW5a02WJ/U1MGOfTmwfZ1kvFRA8ZRB6XSE1hp0RHro49n3AsDQkTIoVhSEtHeWFHXcM2W2XfLkW7TBrEiHRFDhEONmkUCrLauCIL16VVnc88kuDfYzsQ0sXgiWh1XcwI3VPe5+J6nwYYYFrGnIn1lZStwBi9HEPTECtlmG8WvURJlA32QQ5HUg0xXkL2bA+Qvw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