-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (40 loc) · 916 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
47
language: python
python:
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
env:
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.11
- DJANGO_VERSION=1.8.12
- DJANGO_VERSION=1.9.5
matrix:
exclude:
- python: 3.5
env: 1.6.11
- python: nightly
env: 1.6.11
- python: 3.5
env: 1.7.11
- python: nightly
env: 1.7.11
- python: 3.2
env: 1.9.5
- python: 3.3
env: 1.9.5
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; fi
- pip install coveralls
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -q Django==$DJANGO_VERSION --quiet
- pip install humanize
- pip install .
# Command to run tests, e.g. python setup.py test
script:
- coverage run --source=filechooser manage.py test
# Report to coveralls
after_success:
- coveralls