From fcac257bd7350161835cf2f9de2514df4509c3f1 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 09 2017 13:38:06 +0000 Subject: Move up the trap and fix the signals trapped --- diff --git a/run_ci_tests.sh b/run_ci_tests.sh index c2461f7..701beb1 100755 --- a/run_ci_tests.sh +++ b/run_ci_tests.sh @@ -34,6 +34,7 @@ then else source pagureenv-$DATE-$HASH/bin/activate fi +trap deactive SIGINT SIGTERM EXIT # Reload where the nosetests app is (within the venv) @@ -48,4 +49,3 @@ PYTHONPATH=pagure ./nosetests -v --with-xcoverage --cover-erase --cover-package= PYTHONPATH=pagure pylint -f parseable pagure | tee pylint.out pep8 pagure/*.py pagure/*/*.py | tee pep8.out -trap deactive INT TERM EXIT