forked from awslabs/aws-mobile-appsync-sdk-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 1.03 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
before_install:
- openssl aes-256-cbc -K $encrypted_db266f166009_key -iv $encrypted_db266f166009_iv -in aws-android-sdk-appsync-tests/src/main/assets/appsync_test_credentials.json.enc -out aws-android-sdk-appsync-tests/src/main/assets/appsync_test_credentials.json -d
- ls -l aws-android-sdk-appsync-tests/src/main/assets/appsync_test_credentials.json
- wc aws-android-sdk-appsync-tests/src/main/assets/appsync_test_credentials.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:
- android list target
- "./gradlew build connectedCheck --stacktrace "
after_failure:
- cat aws-android-sdk-appsync-tests/build/outputs/androidTest-results/connected/*.xml