forked from cloudfoundry/multiapps-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
14 lines (14 loc) · 843 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
language: java
jdk:
- openjdk8
notifications:
email:
recipients:
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=bc2be0dbbebfb0c29627f657c655e34c02451dc1 -Dsonar.exclusions="**/com/sap/cloud/lm/sl/cf/client/events/**/*" -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.exclusions="**/com/sap/cloud/lm/sl/cf/client/events/**/*" -Dsonar.login=bc2be0dbbebfb0c29627f657c655e34c02451dc1; fi'
git:
depth: false