FINERACT-838 Travis CI setup for Swagger Codegen

This commit is contained in:
Grandolf49
2020-08-02 17:48:43 +02:00
committed by Michael Vorburger ⛑️
parent 6151c20528
commit a7ddf7f728
+4
View File
@@ -77,3 +77,7 @@ script:
- ./gradlew --console=plain -PautomatedBuild=true -q licenseMain licenseTest licenseIntegrationTest check && ./gradlew --console=plain -PautomatedBuild=true integrationTest --fail-fast && sudo service mysql stop && docker-compose build && docker-compose up -d && sleep 60s && http --verify=no --timeout 240 --check-status get https://localhost:8443/fineract-provider/actuator/health && (( $(http --verify=no --timeout 30 --check-status --body get https://localhost:8443/fineract-provider/actuator/info | wc --chars) > 100 ))
# 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 fany /actuator/info test makes sure that has more than 100 characters of JSON to test that the git.properties worked (see FINERACT-983)
# Generate and Build Swagger Code
- ls
- cd build/swagger-code-fineract && mvn test