[CI] Blacklist gh-pages branch only; Skip branches with open PRs

This commit is contained in:
Dr. Chat 2018-11-18 13:50:26 -06:00
parent 7fa453c813
commit 7b1d9ad19b
1 changed files with 7 additions and 3 deletions

View File

@ -8,9 +8,9 @@ version: 1.0.{build}-{branch}
# branches to build # branches to build
# Only building master (and pull requests) # Only building master (and pull requests)
branches: branches:
# whitelist # blacklist
only: except:
- master - gh-pages
# Do not build on tags (GitHub only) # Do not build on tags (GitHub only)
skip_tags: true skip_tags: true
@ -20,6 +20,10 @@ skip_commits:
- docs/* - docs/*
- LICENSE - LICENSE
- README.md - README.md
- .travis.yml
# Skip branches that have an open pull request.
skip_branch_with_pr: true
pull_requests: pull_requests:
do_not_increment_build_number: true do_not_increment_build_number: true