only fetch develop for check-newsfragments

This commit is contained in:
Richard van der Hoff 2018-10-24 13:48:03 +01:00
parent 480d98c91f
commit 83d9ca7122

View File

@ -15,10 +15,6 @@ branches:
- develop - develop
- /^release-v/ - /^release-v/
before_script:
- git remote set-branches --add origin develop
- git fetch origin develop
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
@ -57,6 +53,10 @@ matrix:
if: type = pull_request if: type = pull_request
python: 3.6 python: 3.6
env: TOX_ENV=check-newsfragment env: TOX_ENV=check-newsfragment
script:
- git remote set-branches --add origin develop
- git fetch origin develop
- tox -e $TOX_ENV
install: install:
- pip install tox - pip install tox