Skip to content

Commit

Permalink
Cleaning up branchStrategy messaging (#2663)
Browse files Browse the repository at this point in the history
* Cleaning up branchStrategy messaging

* Fixing typo
  • Loading branch information
marstr authored and olydis committed Mar 14, 2018
1 parent 34e1432 commit f35e3a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ script:
$DOCKER_CMD Azure/azure-libraries-for-java -v
fi
- >-
if [[ $MODE == 'branchStrategy' && $TRAVIS_PULL_REQUEST != 'false' && $TRAVIS_REPO_SLUG == 'Azure/azure-rest-api-specs-pr' && $TRAVIS_BRANCH == 'master' ]]; then
exit 1
if [[ $MODE == 'branchStrategy' ]]; then
# Check to ensure CI is not executing for a PR against the master branch in the private repository
! [[ $TRAVIS_PULL_REQUEST != 'false' && $TRAVIS_REPO_SLUG == 'Azure/azure-rest-api-specs-pr' && $TRAVIS_BRANCH == 'master' ]]
fi
- >-
if [[ $MODE == 'syntax' ]]; then
Expand Down

0 comments on commit f35e3a4

Please sign in to comment.