From 682c0d591151863d1f28303ad88d400f57bfb747 Mon Sep 17 00:00:00 2001 From: vicMB243 Date: Thu, 12 Mar 2020 20:28:43 +0300 Subject: [PATCH 1/2] travis build integration enabled --- android-p2p-sync/.travis.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 android-p2p-sync/.travis.yml diff --git a/android-p2p-sync/.travis.yml b/android-p2p-sync/.travis.yml new file mode 100644 index 0000000..d4f066c --- /dev/null +++ b/android-p2p-sync/.travis.yml @@ -0,0 +1,36 @@ +language: android +# sudo set to required because of an issue with how TravisCI handles builds in Docker containers https://github.com/travis-ci/travis-ci/issues/3695. +# Setting sudo to required prevents Travis from testing the project in a Docker container. +sudo: required +jdk: oraclejdk8 +dist: precise + +env: + global: + # wait up to 10 minutes for adb to connect to emulator + - ADB_INSTALL_TIMEOUT=10 + - MALLOC_ARENA_MAX=2 + +android: + components: + # tools required + - tools + # The BuildTools version used by your project + - build-tools-28.0.3 + # The SDK version used to compile your projects + - android-28 + - android-22 + +script: + - echo "Travis branch is $TRAVIS_BRANCH" + - echo "Travis branch is in pull request $TRAVIS_PULL+REQUEST" + - chmod 755 gradlew + - ls -la + # Enable the line below once we get all the test passing, currently most of the tests are failing + # so we'll just if the project compiles + #Run All tests Unit and Instrumentation + + # Make sure that even the sample module builds OK + - travis_wait ./gradlew build --stacktrace + - travis_wait ./gradlew :p2p-sync:jacocoTestReport + - travis_wait ./gradlew :p2p-sync:coveralls From 6e818d601687eb302e7aa71dfe4d32221ee546ac Mon Sep 17 00:00:00 2001 From: vicMB243 Date: Tue, 17 Mar 2020 16:29:44 +0300 Subject: [PATCH 2/2] moved travis to root folder --- android-p2p-sync/.travis.yml => .travis.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename android-p2p-sync/.travis.yml => .travis.yml (100%) diff --git a/android-p2p-sync/.travis.yml b/.travis.yml similarity index 100% rename from android-p2p-sync/.travis.yml rename to .travis.yml