Travis: avoid legacy infrastructure; enable caching

This commit is contained in:
medmunds
2015-09-25 18:29:15 -07:00
parent f7bd9f3a25
commit 681af234bd

View File

@@ -1,3 +1,4 @@
sudo: false
language: python language: python
matrix: matrix:
include: include:
@@ -24,9 +25,12 @@ matrix:
- { env: DJANGO="--pre django", python: 3.4 } - { env: DJANGO="--pre django", python: 3.4 }
- { env: DJANGO="--pre django", python: 3.5 } - { env: DJANGO="--pre django", python: 3.5 }
- { env: DJANGO="--pre django", python: pypy } - { env: DJANGO="--pre django", python: pypy }
cache:
directories:
- $HOME/.cache/pip
install: install:
- pip install --upgrade setuptools pip - pip install --upgrade setuptools pip
- pip install -q $DJANGO - pip install $DJANGO
- pip install . - pip install .
- pip list - pip list
script: python -Wall setup.py test script: python -Wall setup.py test