You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by pt...@apache.org on 2021/10/26 04:28:43 UTC
[fineract] 01/02: Enhace SonarQube analysis (FINERACT-1409)
This is an automated email from the ASF dual-hosted git repository.
ptuomola pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
commit e6b64858e9e8d0b5750d1e4685311c8b1be93d19
Author: Victor Romero <vi...@fintecheando.mx>
AuthorDate: Thu Oct 21 23:07:01 2021 -0500
Enhace SonarQube analysis (FINERACT-1409)
---
.travis.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 67afdd3..bbd1b98 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -99,6 +99,8 @@ script:
# 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 fancy /actuator/info test makes sure that has more than 100 characters of JSON to test that the git.properties worked (see FINERACT-983)
- ./gradlew -q --no-daemon --console=plain licenseMain licenseTest check build test --fail-fast doc && sudo service mysql stop && docker-compose build && docker-compose up -d && sleep 60s && curl -f -k --retry 5 --retry-connrefused --connect-timeout 30 --retry-delay 30 https://localhost:8443/fineract-provider/actuator/health && (( $(curl -f -k --retry 5 --retry-connrefused --connect-timeout 30 --retry-delay 30 https://localhost:8443/fineract-provider/actuator/info | wc --char [...]
+ - date
# Using travis_wait for a proccess that could take longer than 20 minutes, in this case the SonaQube analysis
# https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
- - travis_wait 30 ./gradlew -q --no-daemon --console=plain sonarqube -Pcoverage=true
+ - travis_wait 30 ./gradlew -q --no-daemon --console=plain -x rat -x compileTestJava -x test -x spotlessJavaCheck -x spotlessJava sonarqube -Pcoverage=true
+ - date