diff --git a/.travis.yml b/.travis.yml index 955add4a8..70d7c4721 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,5 +61,5 @@ script: # 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 check && ./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 + - ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest check && ./gradlew --console=plain integrationTest --fail-fast && 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 # 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) diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle index ef5abdcd0..0111241a7 100644 --- a/fineract-provider/build.gradle +++ b/fineract-provider/build.gradle @@ -498,6 +498,20 @@ task integrationTest(type:Test) { classpath = project.sourceSets.integrationTest.runtimeClasspath } +integrationTest { + testLogging { // FINERACT-927 + events "skipped", "failed" + showStandardStreams = false + exceptionFormat "full" + } +} +test { + testLogging { // FINERACT-927 + events "skipped", "failed" + showStandardStreams = false + exceptionFormat "full" + } +} import com.github.spotbugs.SpotBugsTask import groovy.sql.Sql