From e26698d7b72a7bdcf42fec6921ff34e219674485 Mon Sep 17 00:00:00 2001 From: mahimadhawan <46555841+mahimadhawan@users.noreply.github.com> Date: Wed, 30 Oct 2019 17:37:39 -0600 Subject: [PATCH 1/3] Create .travis.yml --- .travis.yml | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..e52c153e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,61 @@ +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` From 9ed7f79a0053e8df18179f375eede15323c447c5 Mon Sep 17 00:00:00 2001 From: mahimadhawan <46555841+mahimadhawan@users.noreply.github.com> Date: Wed, 30 Oct 2019 17:47:41 -0600 Subject: [PATCH 2/3] Delete .travis.yml --- .travis.yml | 61 ----------------------------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e52c153e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,61 +0,0 @@ -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` From 428debced1b795288931f947e64e667e70de25b7 Mon Sep 17 00:00:00 2001 From: mahimadhawan <46555841+mahimadhawan@users.noreply.github.com> Date: Wed, 30 Oct 2019 17:48:32 -0600 Subject: [PATCH 3/3] Create .travis.yml --- .travis.yml | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..e52c153e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,61 @@ +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`