forked from GeyseR/django-select2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (46 loc) · 952 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
- "pypy3"
env:
global:
- DISPLAY=:99.0
matrix:
- DJANGO="<1.5,>=1.4"
- DJANGO="<1.7,>=1.6"
- DJANGO="<1.8,>=1.7"
- DJANGO="<1.9,>=1.8"
matrix:
exclude:
- python: "3.2"
env: DJANGO="<1.5,>=1.4"
- python: "3.3"
env: DJANGO="<1.5,>=1.4"
- python: "3.4"
env: DJANGO="<1.5,>=1.4"
- python: "pypy3"
env: DJANGO="<1.5,>=1.4"
- python: "2.6"
env: DJANGO="<1.8,>=1.7"
- python: "3.2"
env: DJANGO="<1.8,>=1.7"
- python: "2.6"
env: DJANGO="<1.9,>=1.8"
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