Files
django-anymail/.travis.yml
medmunds d4f6ffbb41 Show DeprecationWarning, etc. in runtests
Install default warnings filter in test runs, to avoid
python's default suppression of DeprecationWarning
and other "intended for developer" warnings.

(Avoids need to provide -Wd or -Wall arg to runtests.)
2016-05-12 17:42:44 -07:00

39 lines
1.4 KiB
YAML

sudo: false
language: python
matrix:
include:
## Django 1.4: Python 2.6--2.7 (but Anymail doesn't support 2.6)
#- { env: DJANGO=django==1.4, python: 2.7 }
## Django 1.5: Python 2.7, pypy
#- { env: DJANGO=django==1.5, python: 2.7 }
#- { env: DJANGO=django==1.5, python: pypy }
## Django 1.6: Python 2.7--3.3, pypy
#- { env: DJANGO=django==1.6, python: 2.7 }
#- { env: DJANGO=django==1.6, python: 3.3 }
#- { env: DJANGO=django==1.6, python: pypy }
## Django 1.7: Python 2.7--3.4, pypy
#- { env: DJANGO=django==1.7, python: 2.7 }
#- { env: DJANGO=django==1.7, python: 3.3 }
#- { env: DJANGO=django==1.7, python: 3.4 }
#- { env: DJANGO=django==1.7, python: pypy }
# Django 1.8: "Python 2.7 or above"
- { env: DJANGO=django==1.8, python: 2.7 }
- { env: DJANGO=django==1.8, python: 3.4 }
- { env: DJANGO=django==1.8, python: pypy }
# Django 1.9: "Python 2.7, 3.4, or 3.5"
- { env: DJANGO=django==1.9, python: 2.7 }
- { env: DJANGO=django==1.9, python: 3.4 }
- { env: DJANGO=django==1.9, python: 3.5 }
- { env: DJANGO=django==1.9, python: pypy }
# Django 1.10 (prerelease)
#- { env: DJANGO="--pre django", python: 3.5 }
cache:
directories:
- $HOME/.cache/pip
install:
- pip install --upgrade setuptools pip
- pip install $DJANGO
- pip install .
- pip list
script: python setup.py test