From a7945a4ddbf6967e2a3e6bf3851ab9f307068f65 Mon Sep 17 00:00:00 2001 From: Choo Shee Yeow <36469528+Jeremy0818@users.noreply.github.com> Date: Tue, 10 Mar 2020 17:43:00 -0600 Subject: [PATCH 1/9] update this file From a3321ce44cd9fabc98191a490d84a8d5171cde83 Mon Sep 17 00:00:00 2001 From: Jeremy0818 Date: Tue, 10 Mar 2020 17:45:08 -0600 Subject: [PATCH 2/9] =?UTF-8?q?update=20travis=20file=20=E2=80=8E=E2=81=A8?= =?UTF-8?q?Macintosh=20HD=E2=81=A9=20=E2=96=B8=20=E2=81=A8Users=E2=81=A9?= =?UTF-8?q?=20=E2=96=B8=20=E2=81=A8macbookpro=E2=81=A9=20=E2=96=B8=20?= =?UTF-8?q?=E2=81=A8Downloads=E2=81=A9#!/bin/bash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 242 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 241 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e52c153e..8cae7b6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,244 @@ -language: android +language: androilanguage: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck` +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android jdk: oraclejdk8 env: From c371743609d43275ceb95c895adeaa34a9105e4e Mon Sep 17 00:00:00 2001 From: Jeremy0818 Date: Tue, 10 Mar 2020 17:59:22 -0600 Subject: [PATCH 3/9] second commit --- .travis.yml | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 301 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8cae7b6c..ac71084c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,304 @@ -language: androilanguage: android +language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: androilanguage: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: androidlanguage: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck` jdk: oraclejdk8 env: From afc686ddc795ef61acca5871420d1333e3440288 Mon Sep 17 00:00:00 2001 From: Jeremy0818 Date: Tue, 10 Mar 2020 18:04:22 -0600 Subject: [PATCH 4/9] modified https --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ac71084c..9f5f3f7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ before_install: # Get gradle - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip - unzip -qq gradle-5.3-bin.zip - export GRADLE_HOME=$PWD/gradle-5.3 - export PATH=$GRADLE_HOME/bin:$PATH From e201953f14092acd8431521302f0e3a143b51c6a Mon Sep 17 00:00:00 2001 From: Jeremy0818 Date: Tue, 10 Mar 2020 18:08:35 -0600 Subject: [PATCH 5/9] modified travis file again --- .travis.yml | 360 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 360 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9f5f3f7a..4d6d3692 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,366 @@ language: android jdk: oraclejdk8 +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck`language: android +jdk: oraclejdk8 + +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a + +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + - tools + - platform-tools + + # The BuildTools version used by your project + - build-tools-23.0.3 + + # The SDK version used to compile your project + # TODO: why is this here explicitly in addition to $ANDROID_TARGET below + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # The SDK version used to compile your project + - $ANDROID_TARGET + + # Specify at least one system image, + # if you need to run emulator(s) during your tests. + # The line should look like this after interpolation: + # - sys-img-armeabi-v7a-android-22 + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + +licenses: + - 'android-sdk-license-.+' + +before_install: + # Accept sdk licenses + - yes | sdkmanager "platforms;android-29" + + # Get gradle + - chmod +x gradlew + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - unzip -qq gradle-5.3-bin.zip + - export GRADLE_HOME=$PWD/gradle-5.3 + - export PATH=$GRADLE_HOME/bin:$PATH + + # Build the project + - gradle -v + + # Start the emulator + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + + # The app will now automatically be installed and tested via + # the command `gradle connectedCheck` +jdk: oraclejdk8 + env: global: - ANDROID_TARGET=android-22 From 99edbd8f45195432d1553d084ddf65a33b1a39ee Mon Sep 17 00:00:00 2001 From: Jeremy0818 Date: Tue, 10 Mar 2020 18:21:08 -0600 Subject: [PATCH 6/9] modified travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4d6d3692..08cef625 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,7 +103,7 @@ before_install: # Get gradle - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip - unzip -qq gradle-5.3-bin.zip - export GRADLE_HOME=$PWD/gradle-5.3 - export PATH=$GRADLE_HOME/bin:$PATH From 7f133eb18c75d7299708acd5c73b2bf5e01a9fb8 Mon Sep 17 00:00:00 2001 From: Jeremy0818 Date: Tue, 10 Mar 2020 18:26:49 -0600 Subject: [PATCH 7/9] modify again and again --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 08cef625..9e0157a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,7 +103,7 @@ before_install: # Get gradle - chmod +x gradlew - - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip + - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - unzip -qq gradle-5.3-bin.zip - export GRADLE_HOME=$PWD/gradle-5.3 - export PATH=$GRADLE_HOME/bin:$PATH @@ -163,7 +163,7 @@ before_install: # Get gradle - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip - unzip -qq gradle-5.3-bin.zip - export GRADLE_HOME=$PWD/gradle-5.3 - export PATH=$GRADLE_HOME/bin:$PATH From 6c751d6b6da3d936f5b226d474f7a0fcd7ea2d49 Mon Sep 17 00:00:00 2001 From: Choo Shee Yeow <36469528+Jeremy0818@users.noreply.github.com> Date: Tue, 10 Mar 2020 18:42:45 -0600 Subject: [PATCH 8/9] update --- .travis.yml | 900 ---------------------------------------------------- 1 file changed, 900 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9e0157a2..e52c153e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,906 +1,6 @@ language: android jdk: oraclejdk8 -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck` -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: androilanguage: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: androidlanguage: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck` -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck` -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a - -android: - components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - - tools - - platform-tools - - # The BuildTools version used by your project - - build-tools-23.0.3 - - # The SDK version used to compile your project - # TODO: why is this here explicitly in addition to $ANDROID_TARGET below - - android-23 - - # Additional components - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository - - # The SDK version used to compile your project - - $ANDROID_TARGET - - # Specify at least one system image, - # if you need to run emulator(s) during your tests. - # The line should look like this after interpolation: - # - sys-img-armeabi-v7a-android-22 - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - -licenses: - - 'android-sdk-license-.+' - -before_install: - # Accept sdk licenses - - yes | sdkmanager "platforms;android-29" - - # Get gradle - - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip - - unzip -qq gradle-5.3-bin.zip - - export GRADLE_HOME=$PWD/gradle-5.3 - - export PATH=$GRADLE_HOME/bin:$PATH - - # Build the project - - gradle -v - - # Start the emulator - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - - emulator -avd test -no-skin -no-audio -no-window & - - android-wait-for-emulator - - adb shell input keyevent 82 & - - # The app will now automatically be installed and tested via - # the command `gradle connectedCheck`language: android -jdk: oraclejdk8 - env: global: - ANDROID_TARGET=android-22 From 680312190888e07f5748fb2afab13762ec895032 Mon Sep 17 00:00:00 2001 From: Choo Shee Yeow <36469528+Jeremy0818@users.noreply.github.com> Date: Tue, 10 Mar 2020 18:47:19 -0600 Subject: [PATCH 9/9] update --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e52c153e..d602da97 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ before_install: # Get gradle - chmod +x gradlew - - wget http://services.gradle.org/distributions/gradle-5.3-bin.zip + - wget https://services.gradle.org/distributions/gradle-5.3-bin.zip - unzip -qq gradle-5.3-bin.zip - export GRADLE_HOME=$PWD/gradle-5.3 - export PATH=$GRADLE_HOME/bin:$PATH