From 270b2b25c1df10435fbb26ebc550601db9f902bb Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Wed, 26 Jul 2017 11:04:03 +0100 Subject: [PATCH] Bug 1317275 - Run pip check on Travis Verifies installed packages have compatible dependencies, to help prevent issues like bug 1324707. This will reduce the time taken to review pyup bot PRs. Example output if errors found: ``` Running pip check celery 3.1.25 has requirement kombu<3.1,>=3.0.37, but you have kombu 4.1.0. ``` --- .travis.yml | 1 + runtests.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 942502454..ebe922304 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,7 @@ matrix: install: - pip install --disable-pip-version-check --require-hashes -r requirements/common.txt -r requirements/dev.txt script: + - pip check - python lints/queuelint.py - flake8 --show-source - isort --check-only --diff --quiet diff --git a/runtests.sh b/runtests.sh index 92bf0483e..78f5a271b 100755 --- a/runtests.sh +++ b/runtests.sh @@ -1,5 +1,8 @@ #!/bin/sh +echo "Running pip check" +pip check || { exit 1; } + echo "Checking CELERY_QUEUES matches Procfile" ./lints/queuelint.py || { exit 1; }