From 72ea2a306024ace71200a6df2e9338657e6e6284 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 9 Dec 2015 21:05:36 +0200 Subject: [PATCH] Skip `tx_commands` tests in PR builds --- contrib/tx_commands.sh | 5 +++++ tox.ini | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/tx_commands.sh b/contrib/tx_commands.sh index 95f6372f..12383b45 100644 --- a/contrib/tx_commands.sh +++ b/contrib/tx_commands.sh @@ -1,3 +1,8 @@ +if [[ ! -z "$CI_PULL_REQUEST" ]] ; then + echo "NB: Skipping tests of $TX in PR build ($CI_PULL_REQUEST)" + exit 0 +fi + # Exit on fail set -e diff --git a/tox.ini b/tox.ini index 353951f8..d0ef5f83 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ whitelist_externals = source bash install_command = pip install -U {opts} {packages} setenv = TOX_ENV_NAME={envname} -passenv = TOX_* TRANSIFEX_USER TRANSIFEX_PASSWORD +passenv = TOX_* TRANSIFEX_USER TRANSIFEX_PASSWORD CI_* APPVEYOR_* commands = python -V python setup.py test bash ./contrib/test_build.sh