From 66b18daf2d6baee818b1d8cba2e2573707eba025 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 6 Jan 2019 11:11:14 +0100 Subject: [PATCH] Dont run ci script on pull requests --- .travis.yml | 2 +- appveyor.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5a69ba0..018de1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ script: - nosetests -v --all-modules --with-doctest svtplay_dl - make - | - if [[ $CIBUILD == "1" ]] + if [[ "$CIBUILD" == "1" && "$TRAVIS_PULL_REQUEST" == "false" ]] then python scripts/cibuild.py fi diff --git a/appveyor.yml b/appveyor.yml index 8bd096e..514a322 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -35,10 +35,10 @@ after_test: - "python %PYTHON%\\Scripts\\cxfreeze --include-modules=queue,idna.idnadata --target-dir=svtplay-dl bin/svtplay-dl" - "svtplay-dl\\svtplay-dl.exe --version" - "7z.exe a -tzip svtplay-dl.zip svtplay-dl" - - "python scripts/cibuild.py" + - 'IF "%APPVEYOR_PULL_REQUEST_NUMBER%"="" python scripts/cibuild.py' artifacts: - path: svtplay-dl.zip name: svtplay-dl -build: off \ No newline at end of file +build: off