From e257bb824172a165430e77678e2584ff439d8e98 Mon Sep 17 00:00:00 2001 From: Harsh Lathwal Date: Wed, 11 Oct 2017 10:16:20 +0530 Subject: [PATCH 1/4] started creating travis file --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b1031de --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: android +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-19.1.0 + + # The SDK version used to compile your project + - android-22 \ No newline at end of file From a8d4d0f5783b77e0bf999b70472f81c36d06d4a5 Mon Sep 17 00:00:00 2001 From: Harsh Lathwal Date: Wed, 11 Oct 2017 10:58:01 +0530 Subject: [PATCH 2/4] modifiying travis.yml --- .travis.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b1031de..68b2dca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,28 @@ language: android +jdk: oraclejdk8 +sudo: false android: components: + - platform-tools + - tools # 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-19.1.0 - + - build-tools-24.0.2 # The SDK version used to compile your project - - android-22 \ No newline at end of file + - android-22 + - android-24 + - sys-img-armeabi-v7a-android-22 + - extra-android-m2repository + +before_script: + # Create and start emulator + - 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 & + +script: ./HappyPanda/gradlew connectedAndroidTest From 56e972ae22b2ef36b43c7987d8476001f2e23a2b Mon Sep 17 00:00:00 2001 From: Harsh Lathwal Date: Wed, 11 Oct 2017 11:04:04 +0530 Subject: [PATCH 3/4] lint fix --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 68b2dca..3fc7468 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ android: # - platform-tools # The BuildTools version used by your project - - build-tools-24.0.2 + - build-tools-24.0.2 # The SDK version used to compile your project - android-22 - android-24 From 1cc8b842ea9a9749d6db9d2824bd1812518869c5 Mon Sep 17 00:00:00 2001 From: Kartik Mudgal Date: Wed, 11 Oct 2017 11:28:58 +0530 Subject: [PATCH 4/4] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3fc7468..63fc447 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,4 @@ before_script: - android-wait-for-emulator - adb shell input keyevent 82 & -script: ./HappyPanda/gradlew connectedAndroidTest +script: ./HappyPanda/gradlew clean build