Skip to content

Commit 3c1c3ed

Browse files
committed
.travis.yml: fix build by using the correct operator for logical OR.
Prior this change it was failing with the following error: /home/travis/.travis/job_stages: line 567: expected `)' /home/travis/.travis/job_stages: line 567: syntax error near `-a' /home/travis/.travis/job_stages: line 567: ` if [[ ($TRAVIS_BRANCH = prod) && ("$SPRING_PROFILES_ACTIVE" = "travis" -a "$TRAVIS_PULL_REQUEST" = "false") ]]; then' Correction for d5289a4 commit.
1 parent 0b3ec75 commit 3c1c3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ deploy:
4343
script: ./src/main/scripts/ci/deploy.sh
4444
on:
4545
branch: prod
46-
condition: '"$SPRING_PROFILES_ACTIVE" = "travis" -a "$TRAVIS_PULL_REQUEST" = "false"'
46+
condition: '"$SPRING_PROFILES_ACTIVE" = "travis" && "$TRAVIS_PULL_REQUEST" = "false"'
4747
skip_cleanup: true
4848

4949
jdk:

0 commit comments

Comments
 (0)