mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Travis: avoid legacy infrastructure; enable caching
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user