diff --git a/.travis.yml b/.travis.yml index 47cb97d4..6095a6eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,8 @@ install: # command to run the dependencies script: - 'if [[ -n "$RUN_INTEGRATION_TESTS" ]]; then rm -fr ~/.cache/pip; fi' - - "pipenv run bash ./run-tests.sh" + - 'export PYPI_VENDOR_DIR="$(pwd)/tests/pypi/"' + - 'pipenv run time pytest -v -n auto tests -m "$TEST_SUITE" --tap-stream' jobs: include: diff --git a/run-tests.sh b/run-tests.sh index 873f8273..be342245 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -5,8 +5,7 @@ set -eo pipefail # Set the PYPI vendor URL for pytest-pypi. -PYPI_VENDOR_DIR="$(pwd)/tests/pypi/" -export PYPI_VENDOR_DIR +export PYPI_VENDOR_DIR="$(pwd)/tests/pypi/" if [[ ! -z "$TEST_SUITE" ]]; then echo "Using TEST_SUITE=$TEST_SUITE"