forked from cloudfoundry/multiapps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
11 lines (10 loc) · 676 Bytes
/
.travis.yml
File metadata and controls
11 lines (10 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
language: java
notifications:
email:
recipients:
- DL_563CD7577BCF844DBD000037@exchange.sap.corp
on_success: change
on_failure: always
script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then mvn clean install sonar:sonar -Dsonar.organization=cf-deploy-service -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=d7d479ec5828ef3a6a0afd0684a2c2bd21bb5f00 -Dsonar.branch.name="$TRAVIS_PULL_REQUEST" ; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then mvn deploy --settings .travis.settings.xml sonar:sonar -Dsonar.organization=cf-deploy-service -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=d7d479ec5828ef3a6a0afd0684a2c2bd21bb5f00 ; fi'