We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec4b511 commit 6a38b62Copy full SHA for 6a38b62
1 file changed
travis.sh
@@ -7,8 +7,13 @@ function configureTravis {
7
curl -sSL https://github.com/SonarSource/travis-utils/tarball/v57 | tar zx --strip-components 1 -C ~/.local
8
source ~/.local/bin/install
9
}
10
-configureTravis
+if [[ -n ${TRAVIS_SECURE_ENV_VARS+x} && ${TRAVIS_SECURE_ENV_VARS} == true ]]; then
11
+ configureTravis
12
-export DEPLOY_PULL_REQUEST=true
13
+ export DEPLOY_PULL_REQUEST=true
14
-regular_mvn_build_deploy_analyze
15
+ regular_mvn_build_deploy_analyze
16
+else
17
+ echo "Travis secure variables not available"
18
+ mvn install
19
+fi
0 commit comments