From 8bd65ebea2d22a1cacc8a9315e63c71fecf21b53 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Fri, 29 Apr 2016 22:41:46 +0700 Subject: [PATCH 1/2] 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 From 18502919fd9333ae3278f2071aa427d698d4a75d Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Fri, 29 Apr 2016 22:33:40 +0700 Subject: [PATCH 2/2] Add PyPy 3 in .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 9f515cb1..fa35800d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ python: - 3.4 - 3.5 - pypy + - pypy3 cache: pip before_install: - pip uninstall -y nose