From 681af234bd50f98450f3c5baa7a0fc886b237d87 Mon Sep 17 00:00:00 2001 From: medmunds Date: Fri, 25 Sep 2015 18:29:15 -0700 Subject: [PATCH] Travis: avoid legacy infrastructure; enable caching --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f6e40de..820aa36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +sudo: false language: python matrix: include: @@ -24,9 +25,12 @@ matrix: - { env: DJANGO="--pre django", python: 3.4 } - { env: DJANGO="--pre django", python: 3.5 } - { env: DJANGO="--pre django", python: pypy } +cache: + directories: + - $HOME/.cache/pip install: - pip install --upgrade setuptools pip - - pip install -q $DJANGO + - pip install $DJANGO - pip install . - pip list script: python -Wall setup.py test