django-select2/.travis.yml
2015-06-17 17:06:20 +02:00

32 lines
628 B
YAML

language: python
sudo: false
python:
- "2.7"
- "3.3"
- "3.4"
- "pypy"
- "pypy3"
env:
global:
- DISPLAY=:99.0
matrix:
- DJANGO="<1.7,>=1.6"
- DJANGO="<1.8,>=1.7"
- DJANGO="<1.9,>=1.8"
matrix:
allow_failures:
- env: DJANGO="<1.7,>=1.6"
- python: "pypy"
- python: "pypy3"
install:
- pip install --upgrade pip
- pip install -e .
- pip install -r requirements_dev.txt
- pip install Django$DJANGO
- pip install coveralls
- sh -e /etc/init.d/xvfb start
script:
- isort -c -vb -rc ./django_select2
- coverage run --source=django_select2 runtests.py
after_success:
coveralls