1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

Dont run ci script on pull requests

This commit is contained in:
Johan Andersson 2019-01-06 11:11:14 +01:00
parent 5796b861cf
commit 66b18daf2d
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ script:
- nosetests -v --all-modules --with-doctest svtplay_dl - nosetests -v --all-modules --with-doctest svtplay_dl
- make - make
- | - |
if [[ $CIBUILD == "1" ]] if [[ "$CIBUILD" == "1" && "$TRAVIS_PULL_REQUEST" == "false" ]]
then then
python scripts/cibuild.py python scripts/cibuild.py
fi fi

View File

@ -35,10 +35,10 @@ after_test:
- "python %PYTHON%\\Scripts\\cxfreeze --include-modules=queue,idna.idnadata --target-dir=svtplay-dl bin/svtplay-dl" - "python %PYTHON%\\Scripts\\cxfreeze --include-modules=queue,idna.idnadata --target-dir=svtplay-dl bin/svtplay-dl"
- "svtplay-dl\\svtplay-dl.exe --version" - "svtplay-dl\\svtplay-dl.exe --version"
- "7z.exe a -tzip svtplay-dl.zip svtplay-dl" - "7z.exe a -tzip svtplay-dl.zip svtplay-dl"
- "python scripts/cibuild.py" - 'IF "%APPVEYOR_PULL_REQUEST_NUMBER%"="" python scripts/cibuild.py'
artifacts: artifacts:
- path: svtplay-dl.zip - path: svtplay-dl.zip
name: svtplay-dl name: svtplay-dl
build: off build: off