forked from hellysmile/django-activeurl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (43 loc) · 1.18 KB
/
.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
language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "2.6"
- "pypy"
env:
- DJANGO="django>=1.3,<1.4"
- DJANGO="django>=1.4,<1.5"
- DJANGO="django>=1.5,<1.6"
- DJANGO="django>=1.6,<1.7"
- DJANGO="https://github.com/django/django/tarball/stable/1.7.x#egg=django"
matrix:
exclude:
- python: "3.4"
env: DJANGO="django>=1.3,<1.4"
- python: "3.4"
env: DJANGO="django>=1.4,<1.5"
- python: "3.3"
env: DJANGO="django>=1.3,<1.4"
- python: "3.3"
env: DJANGO="django>=1.4,<1.5"
- python: "3.2"
env: DJANGO="django>=1.3,<1.4"
- python: "3.2"
env: DJANGO="django>=1.4,<1.5"
- python: "2.6"
env: DJANGO="django>=1.5,<1.6"
- python: "2.6"
env: DJANGO="django>=1.6,<1.7"
- python: "2.6"
env: DJANGO="https://github.com/django/django/tarball/stable/1.7.x#egg=django"
install:
- pip install $DJANGO
- pip install coverage>=3.6 nose>=1.3.0 flake8>=2.0 coveralls>=0.3
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'Jinja2<2.7'; else pip install 'Jinja2>=2.7'; fi
script:
- flake8 --show-source django_activeurl
- python setup.py nosetests --with-coverage
after_success:
- coveralls