-
Notifications
You must be signed in to change notification settings - Fork 58
/
.travis.yml
29 lines (29 loc) · 1.08 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
before_install:
- openssl aes-256-cbc -K $encrypted_3a6b03bad5d0_key -iv $encrypted_3a6b03bad5d0_iv -in aws-android-sdk-appsync-tests/src/main/assets/awsconfiguration.json.enc -out aws-android-sdk-appsync-tests/src/main/res/raw/awsconfiguration.json -d
- ls -l aws-android-sdk-appsync-tests/src/main/res/raw/awsconfiguration.json
- wc aws-android-sdk-appsync-tests/src/main/res/raw/awsconfiguration.json
- chmod +x gradlew
- yes | sdkmanager "platforms;android-27"
- android list target
- 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 &
language: android
android:
components:
- tools
- platform-tools
- tools
- build-tools-28.0.2
- android-28
- android-22
- sys-img-armeabi-v7a-android-22
script:
- ./gradlew publishToMavenLocal
- cd aws-android-sdk-appsync-tests
- android list target
- ./gradlew build connectedCheck --stacktrace
- cd ..
after_failure:
- cat aws-android-sdk-appsync-tests/build/outputs/androidTest-results/connected/*.xml