You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by vo...@apache.org on 2019/12/14 14:51:57 UTC

[fineract] branch vorburger-travis created (now 5bce242)

This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a change to branch vorburger-travis
in repository https://gitbox.apache.org/repos/asf/fineract.git.


      at 5bce242  change .travis.yml to only run docker test if integration test passed

This branch includes the following new commits:

     new 5bce242  change .travis.yml to only run docker test if integration test passed

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[fineract] 01/01: change .travis.yml to only run docker test if integration test passed

Posted by vo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch vorburger-travis
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 5bce2422e0c9dc73f112ff2300aca82a4e352caa
Author: Michael Vorburger ⛑️ <mi...@vorburger.ch>
AuthorDate: Sat Dec 14 15:51:49 2019 +0100

    change .travis.yml to only run docker test if integration test passed
---
 .travis.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 1d42d3e..0ff199d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -58,9 +58,9 @@ cache:
 # https://jira.apache.org/jira/browse/FINERACT-732 removed that again, because it made Travis CI fail.
 script:
   - date
-# using "&&" instead of x2 "-" means that integrationTest does not run if test fails, which makes sense.
+# using "&&" instead of several "-" means that integrationTest does not run if test fails,
+# and Docker test does not run if integration test fails, which makes PR failure easier to understand.
 # @see https://docs.travis-ci.com/user/job-lifecycle/#customizing-the-build-phase
-  - ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest test  &&  ./gradlew --console=plain integrationTest
-# We must stop mysql the mysql system service to avoid port 3306 conflicts (unless we run the mysql in docker-compose on another port; req. FINERACT-773)
-  - sudo service mysql stop  &&  docker-compose build  &&  docker-compose up -d  &&  sleep 30s  &&  http --verify=no --timeout 240 --check-status get https://localhost:8443/fineract-provider/actuator/health || docker logs fineract_fineract-server_1
+  - ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest test  &&  ./gradlew --console=plain integrationTest  &&  sudo service mysql stop  &&  docker-compose build  &&  docker-compose up -d  &&  sleep 30s  &&  http --verify=no --timeout 240 --check-status get https://localhost:8443/fineract-provider/actuator/health || docker logs fineract_fineract-server_1
+# We stop the mysql system service when running the Docker test to avoid port 3306 conflicts (unless we run the mysql in docker-compose on another port; req. FINERACT-773)
 # The || docker logs lets use see the root cause in case of failures