From 8bd65ebea2d22a1cacc8a9315e63c71fecf21b53 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Fri, 29 Apr 2016 22:41:46 +0700 Subject: [PATCH] Allow Travis to install requirements.txt The pip --use-mirrors option was deprecated in version 1.5, and removed in 7.0, and 7.1.2 is now included with Travis' Python 3.5.0 environment. Travis automatically installs packages in requirements.txt if stage `install` does not exist, and can cache the packages. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ec90ef81..9f515cb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,8 @@ python: - 3.4 - 3.5 - pypy -install: +cache: pip +before_install: - pip uninstall -y nose - - pip install -r requirements.txt --use-mirrors script: - python setup.py build_tests || python setup.py egg_info; python selftest.py