From d037bc335bd91a5acc57d0998a3203f69eeb2b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Tue, 14 May 2024 11:29:53 +0100 Subject: [PATCH] fix: new trusted host option --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6ade6f04..9cfccc93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,13 +18,14 @@ matrix: dist: xenial services: mongodb before_install: - - pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host --upgrade pip setuptools + - pip install --upgrade pip setuptools install: - if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then pip install "tinydb<4"; fi - pip install "pymongo<3.13" - pip install -r requirements.py2.txt - if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install coveralls; fi env: + - PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org - ADAPTER=mongo - ADAPTER=tiny script: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage run --source=appier_extras setup.py test; else python setup.py test; fi