From bf687955a7548a2c8aa44397c7fced77a1b5f98a Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 20:27:21 +0100 Subject: [PATCH 01/21] Update .travis.yml --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 29f8ce4..f269405 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,3 +23,7 @@ before_script: script: - chmod +x ./gradlew + - ./gradlew build jacocoTestReport assembleAndroidTest + +after_success: + - bash <(curl -s https://codecov.io/bash) From f80c2c71e5c8dccf389f4a44d4081efa8b036592 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 20:31:35 +0100 Subject: [PATCH 02/21] Update .travis.yml --- .travis.yml | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index f269405..e665b4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,24 @@ - language: android +jdk: oraclejdk8 +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a android: components: - - tools - - build-tools-28.0.13 - - android-28 - - platform-tools - - extra-android-support - - extra-android-m2repository - licenses: - - '.+' - -sudo: required - -jdk: - - oraclejdk8 - -install: true - -before_script: - - chmod +x gradlew - + - tools + - platform-tools + - build-tools-23.0.3 + - android-23 + - extra-android-m2repository + - $ANDROID_TARGET + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} script: - - chmod +x ./gradlew - - ./gradlew build jacocoTestReport assembleAndroidTest - + - ./gradlew build jacocoTestReport assembleAndroidTest + - 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 setprop dalvik.vm.dexopt-flags v=n,o=v + - ./gradlew connectedCheck after_success: - - bash <(curl -s https://codecov.io/bash) + - bash <(curl -s https://codecov.io/bash) From bbb616971d41e867bd8373ce72240e549824e632 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 20:40:14 +0100 Subject: [PATCH 03/21] Update .travis.yml --- .travis.yml | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index e665b4a..0019f44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,29 @@ + language: android -jdk: oraclejdk8 -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a android: components: - - tools - - platform-tools - - build-tools-23.0.3 - - android-23 - - extra-android-m2repository - - $ANDROID_TARGET - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + - tools + - build-tools-28.0.13 + - android-28 + - platform-tools + - extra-android-support + - extra-android-m2repository + licenses: + - '.+' + +sudo: required + +jdk: + - oraclejdk8 + +install: true + +before_script: + - chmod +x gradlew + script: - - ./gradlew build jacocoTestReport assembleAndroidTest - - 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 setprop dalvik.vm.dexopt-flags v=n,o=v - - ./gradlew connectedCheck -after_success: - - bash <(curl -s https://codecov.io/bash) + - chmod +x ./gradlew + — ./gradlew build jacocoTestReport + +after_success: + — bash <(curl -s https://codecov.io/bash) From 25c1856c3a816ac4bd6a48290879208d5bb2518f Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 20:40:30 +0100 Subject: [PATCH 04/21] Update .travis.yml --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0019f44..ed47245 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,3 @@ - language: android android: components: From 2d37746b96d3a37afbd080ae2eb0211a847ed85e Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 20:49:41 +0100 Subject: [PATCH 05/21] Update .travis.yml From 2f22a7287bf8f642f0a03eae19f69b4f7e494ba8 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 20:54:22 +0100 Subject: [PATCH 06/21] Update .travis.yml --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ed47245..980acb9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,3 @@ before_script: script: - chmod +x ./gradlew - — ./gradlew build jacocoTestReport - -after_success: - — bash <(curl -s https://codecov.io/bash) From c91b83da85a18d8c7bd2ea2b24287bef30e2c460 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 20:58:13 +0100 Subject: [PATCH 07/21] Update .travis.yml --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 980acb9..ed47245 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,3 +22,7 @@ before_script: script: - chmod +x ./gradlew + — ./gradlew build jacocoTestReport + +after_success: + — bash <(curl -s https://codecov.io/bash) From a228c7b3027e480f5d11ba8e478a47419ba7078d Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:00:06 +0100 Subject: [PATCH 08/21] Update .travis.yml From cb24479819c736b2416a2014d6aef16c52e57701 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:04:12 +0100 Subject: [PATCH 09/21] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ed47245..6f8702b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ before_script: script: - chmod +x ./gradlew - — ./gradlew build jacocoTestReport + — chmod +x ./gradlew build jacocoTestReport after_success: — bash <(curl -s https://codecov.io/bash) From 7e049c98ca9c9d6f25d859832f7db86165160ce6 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:08:27 +0100 Subject: [PATCH 10/21] Update .travis.yml --- .travis.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f8702b..8b13789 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,28 +1 @@ -language: android -android: - components: - - tools - - build-tools-28.0.13 - - android-28 - - platform-tools - - extra-android-support - - extra-android-m2repository - licenses: - - '.+' -sudo: required - -jdk: - - oraclejdk8 - -install: true - -before_script: - - chmod +x gradlew - -script: - - chmod +x ./gradlew - — chmod +x ./gradlew build jacocoTestReport - -after_success: - — bash <(curl -s https://codecov.io/bash) From 55abb9da7b072ff3edd22efaf1ce7480dddb2291 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:10:24 +0100 Subject: [PATCH 11/21] Update .travis.yml --- .travis.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8b13789..eb9bb57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,29 @@ +language: android +android: + components: + - tools + - build-tools-28.0.13 + - android-28 + - platform-tools + - extra-android-support + - extra-android-m2repository + licenses: + - '.+' + +sudo: required + +jdk: + - oraclejdk8 + +install: true + +before_script: + - chmod +x gradlew + +script: + - chmod +x ./gradlew + — chmod +x ./gradlew build jacocoTestReport + +after_success: + — bash <(curl -s https://codecov.io/bash) From 79d9a30549302cbcf15d909e9919c8e05276b927 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:10:51 +0100 Subject: [PATCH 12/21] Update .travis.yml --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index eb9bb57..6f8702b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,3 @@ - language: android android: components: From 8a5e955864b77627d9621ccd5a92cb669a1f5dee Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:12:37 +0100 Subject: [PATCH 13/21] Update .travis.yml --- .travis.yml | 76 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 56 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f8702b..e5e0016 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,28 +1,64 @@ language: android +jdk: oraclejdk8 +sudo: false android: components: - - tools - - build-tools-28.0.13 - - android-28 - - platform-tools - - extra-android-support - - extra-android-m2repository - licenses: - - '.+' + - tools + - build-tools-28.0.3 + - android-28 -sudo: required +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ +cache: + directories: + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ + - $HOME/.android/build-cache -jdk: - - oraclejdk8 +stages: + - name: build + - name: deploy branch snapshot + if: (NOT tag IS present) AND branch IS present AND type = push AND repo = arturdm/jacoco-android-gradle-plugin + - name: deploy tagged release + if: tag =~ ^jacoco-android-release- AND repo = arturdm/jacoco-android-gradle-plugin -install: true +jobs: + include: + - stage: build + script: + - | + ./gradlew \ + build \ + jacocoTestReport + after_success: + - bash <(curl -s https://codecov.io/bash) -before_script: - - chmod +x gradlew + - stage: deploy branch snapshot + install: + - git fetch --unshallow --tags || true + - git checkout $TRAVIS_BRANCH + script: + - | + ./gradlew \ + currentVersion \ + publishSnapshot \ + -Dbuild.number=$TRAVIS_BUILD_NUMBER -script: - - chmod +x ./gradlew - — chmod +x ./gradlew build jacocoTestReport - -after_success: - — bash <(curl -s https://codecov.io/bash) + - stage: deploy tagged release + install: + - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/* + - git fetch --unshallow --tags || true + - git fetch origin master + - git checkout master + - git reset --hard $TRAVIS_BRANCH + script: + - | + ./gradlew \ + currentVersion \ + publishRelease \ + -Dbuild.number=$TRAVIS_BUILD_NUMBER + +env: + global: + secure: QHXp0ua78CnXKl76LxC3YkuBihWl7McXZdNJvxoDbHpE7fufUHxp9yXMKQvT4CRCsjGc+3qJwio/fpkRVgruvHt9Ck3qbTLRz9MSR0APuqj+Ni2n2/LJrRBuqHQJwjsgmiRSdaNHerGRmm1XlfoKEV+prX4ctmfXZr1aUSXaxy75Ye+JZyCPPpTKi3m+uC4I6/OCFrR7pfp6HL4Ks6Ryt5bAR/jilT0e6VZ+C7QuLr/Ee2dOwWqrgFa3Vl/esKIrwCObpgFnaittUkSRHUrod7SFl+NYXY2uLyKQfqrHe2CPYFeoI8zX5hWhAYvKn8rcPESP6MjXnkKG8AKn1MgSne6XFYljDnDxEJhbMVDouCKf6vODOZoKTVXALJ30K+q3CE0ajXUXbg4rQd4tHkj2XYoq3yyHv3bPFBrl5bi60ibt1qGilN8cssVnrgJKG/XJjJJvWSnOSjWYARatB8JnIC82BQ6LEp1bLkgCkzJkxTXk6diqUi/NCmb9vIeOZlwDXBgBVQgFRUcPw/+z0IUdLKAxiPiTvDmUY9JnNRYp0HyKkzEbmAq7a8q7qEaHIYkFA8CmiW9n7SqoO540+h7VKlacpNBe6tzy0FdlK+HVCgoxNt+SjHXpcvydgfz2W32rP3L3u0sf6s+NC5YZhKfkp4SGJvJO8OYlS1hm5msrTfA= From 124434dea1f050a6d2d73969e9bbde5e421a089e Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:16:45 +0100 Subject: [PATCH 14/21] Update .travis.yml --- .travis.yml | 74 ++++++++++++----------------------------------------- 1 file changed, 17 insertions(+), 57 deletions(-) diff --git a/.travis.yml b/.travis.yml index e5e0016..912540e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,64 +1,24 @@ language: android jdk: oraclejdk8 -sudo: false +env: + global: + - ANDROID_TARGET=android-22 + - ANDROID_ABI=armeabi-v7a android: components: - tools + - platform-tools - build-tools-28.0.3 - android-28 - -before_cache: - - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ -cache: - directories: - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ - - $HOME/.android/build-cache - -stages: - - name: build - - name: deploy branch snapshot - if: (NOT tag IS present) AND branch IS present AND type = push AND repo = arturdm/jacoco-android-gradle-plugin - - name: deploy tagged release - if: tag =~ ^jacoco-android-release- AND repo = arturdm/jacoco-android-gradle-plugin - -jobs: - include: - - stage: build - script: - - | - ./gradlew \ - build \ - jacocoTestReport - after_success: - - bash <(curl -s https://codecov.io/bash) - - - stage: deploy branch snapshot - install: - - git fetch --unshallow --tags || true - - git checkout $TRAVIS_BRANCH - script: - - | - ./gradlew \ - currentVersion \ - publishSnapshot \ - -Dbuild.number=$TRAVIS_BUILD_NUMBER - - - stage: deploy tagged release - install: - - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/* - - git fetch --unshallow --tags || true - - git fetch origin master - - git checkout master - - git reset --hard $TRAVIS_BRANCH - script: - - | - ./gradlew \ - currentVersion \ - publishRelease \ - -Dbuild.number=$TRAVIS_BUILD_NUMBER - -env: - global: - secure: QHXp0ua78CnXKl76LxC3YkuBihWl7McXZdNJvxoDbHpE7fufUHxp9yXMKQvT4CRCsjGc+3qJwio/fpkRVgruvHt9Ck3qbTLRz9MSR0APuqj+Ni2n2/LJrRBuqHQJwjsgmiRSdaNHerGRmm1XlfoKEV+prX4ctmfXZr1aUSXaxy75Ye+JZyCPPpTKi3m+uC4I6/OCFrR7pfp6HL4Ks6Ryt5bAR/jilT0e6VZ+C7QuLr/Ee2dOwWqrgFa3Vl/esKIrwCObpgFnaittUkSRHUrod7SFl+NYXY2uLyKQfqrHe2CPYFeoI8zX5hWhAYvKn8rcPESP6MjXnkKG8AKn1MgSne6XFYljDnDxEJhbMVDouCKf6vODOZoKTVXALJ30K+q3CE0ajXUXbg4rQd4tHkj2XYoq3yyHv3bPFBrl5bi60ibt1qGilN8cssVnrgJKG/XJjJJvWSnOSjWYARatB8JnIC82BQ6LEp1bLkgCkzJkxTXk6diqUi/NCmb9vIeOZlwDXBgBVQgFRUcPw/+z0IUdLKAxiPiTvDmUY9JnNRYp0HyKkzEbmAq7a8q7qEaHIYkFA8CmiW9n7SqoO540+h7VKlacpNBe6tzy0FdlK+HVCgoxNt+SjHXpcvydgfz2W32rP3L3u0sf6s+NC5YZhKfkp4SGJvJO8OYlS1hm5msrTfA= + - extra-android-m2repository + - $ANDROID_TARGET + - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} +script: + - ./gradlew build jacocoTestReport assembleAndroidTest + - 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 setprop dalvik.vm.dexopt-flags v=n,o=v + - ./gradlew connectedCheck +after_success: + - bash <(curl -s https://codecov.io/bash) From a7009652913785527bb44fcf25b160926ab20464 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:23:16 +0100 Subject: [PATCH 15/21] Update .travis.yml --- .travis.yml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 912540e..675f3bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,15 @@ language: android jdk: oraclejdk8 -env: - global: - - ANDROID_TARGET=android-22 - - ANDROID_ABI=armeabi-v7a android: components: - - tools - - platform-tools - - build-tools-28.0.3 - - android-28 - - extra-android-m2repository - - $ANDROID_TARGET - - sys-img-${ANDROID_ABI}-${ANDROID_TARGET} + - tools + - build-tools-28.0.13 + - android-28 + - platform-tools + - extra-android-support + - extra-android-m2repository script: - ./gradlew build jacocoTestReport assembleAndroidTest - - 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 setprop dalvik.vm.dexopt-flags v=n,o=v - ./gradlew connectedCheck after_success: - bash <(curl -s https://codecov.io/bash) From 8fab4317060f2af3298a55b2fc0749413ed6d4c0 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:29:25 +0100 Subject: [PATCH 16/21] Update .travis.yml --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 675f3bb..2429466 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ android: - extra-android-support - extra-android-m2repository script: - - ./gradlew build jacocoTestReport assembleAndroidTest - - ./gradlew connectedCheck + - ./gradlew build jacocoTestReport after_success: - bash <(curl -s https://codecov.io/bash) From 97147393667a0b7bd1c8b3e01340310e8a545357 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:37:02 +0100 Subject: [PATCH 17/21] Update .travis.yml --- .travis.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2429466..42d0ddd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ + language: android -jdk: oraclejdk8 android: components: - tools @@ -8,7 +8,21 @@ android: - platform-tools - extra-android-support - extra-android-m2repository + licenses: + - '.+' + +sudo: required + +jdk: + - oraclejdk8 + +install: true + +before_script: + - chmod +x gradlew + script: - - ./gradlew build jacocoTestReport + - chmod +x ./gradlew + after_success: - bash <(curl -s https://codecov.io/bash) From 521abc2f3591515a6354297a879889b246424812 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:41:55 +0100 Subject: [PATCH 18/21] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 42d0ddd..facae38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ before_script: - chmod +x gradlew script: - - chmod +x ./gradlew + - chmod +x ./gradlew build jacocoTestReport after_success: - bash <(curl -s https://codecov.io/bash) From 414157beaa801a6618861272375b33eec7148acc Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:45:58 +0100 Subject: [PATCH 19/21] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index facae38..a0cebd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ before_script: - chmod +x gradlew script: + - chmod +x ./gradlew - chmod +x ./gradlew build jacocoTestReport after_success: From a7dfacf7d208a1c23dafd2aa7144bc4ca9a84a09 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:51:12 +0100 Subject: [PATCH 20/21] Update .travis.yml --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a0cebd0..ca3b0c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,8 @@ before_script: script: - chmod +x ./gradlew - - chmod +x ./gradlew build jacocoTestReport + - chmod +x ./gradlew build jacocoTestReport assembleAndroidTest + - chmod +x ./gradlew connectedCheck after_success: - bash <(curl -s https://codecov.io/bash) From d6d92eea77638dabaf4168d4a1417a8c8ba21002 Mon Sep 17 00:00:00 2001 From: Yougourta AIT SAADA Date: Mon, 18 Mar 2019 21:55:30 +0100 Subject: [PATCH 21/21] Update .travis.yml --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index ca3b0c5..29f8ce4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,8 +23,3 @@ before_script: script: - chmod +x ./gradlew - - chmod +x ./gradlew build jacocoTestReport assembleAndroidTest - - chmod +x ./gradlew connectedCheck - -after_success: - - bash <(curl -s https://codecov.io/bash)