Disable travis-ci branch builds for most branches

(We really don't need to kick off 10 builds for the branch as well as 10 for
the PR)
pull/4106/head
Richard van der Hoff 2018-10-24 14:43:29 +01:00
parent 78e8d4c3a5
commit 56a05583ae
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@ language: python
# tell travis to cache ~/.cache/pip # tell travis to cache ~/.cache/pip
cache: pip cache: pip
# only build branches we care about (PRs are built seperately)
branches:
only:
- master
- develop
before_script: before_script:
- git remote set-branches --add origin develop - git remote set-branches --add origin develop
- git fetch origin develop - git fetch origin develop