You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by aw...@apache.org on 2019/09/05 22:24:26 UTC

[fineract] branch develop updated: fix .travis.yml so that integrationTest does not run if test already failed

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

awasum pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 06ed846  fix .travis.yml so that integrationTest does not run if test already failed
     new d9e373e  Merge pull request #633 from vorburger/travis-skip-integration-test-if-test-fails
06ed846 is described below

commit 06ed8468b87b743f9fa395e15d0e8d9d56abc3ba
Author: Michael Vorburger.ch <mi...@vorburger.ch>
AuthorDate: Wed Sep 4 21:44:19 2019 +0200

    fix .travis.yml so that integrationTest does not run if test already failed
---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4f9db8f..2ce0a18 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -51,5 +51,6 @@ cache:
 # https://jira.apache.org/jira/browse/FINERACT-732 removed that again, because it made Travis CI fail.
 script:
   - date
-  - ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest test
-  - ./gradlew --console=plain clean integrationTest
+  - ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest test  &&  ./gradlew --console=plain clean integrationTest
+# using "&&" instead of x2 "-" means that integrationTest does not run if test fails, which makes sense.
+# @see https://docs.travis-ci.com/user/job-lifecycle/#customizing-the-build-phase