forked from kaleidos/django-validated-file
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
36 lines (36 loc) · 863 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
language: python
python:
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9
env:
- DJANGO_VERSION=2.2.28
- DJANGO_VERSION=3.2.15
- DJANGO_VERSION=4.0.7
# https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
matrix:
exclude:
- env: DJANGO_VERSION=3.2.15
python: 3.5
- env: DJANGO_VERSION=4.0.7
python: 3.5
- env: DJANGO_VERSION=4.0.7
python: 3.6
- env: DJANGO_VERSION=4.0.7
python: 3.7
addons:
apt_packages:
- pandoc
before_install:
- ./pypi_packager.sh
install:
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install -U importlib_metadata; fi
- pip install -q django==$DJANGO_VERSION
- pip install -e .[coverage]
- pip install -q coveralls
script:
- coverage run --source=constrainedfilefield constrainedfilefield/tests/__main__.py
after_success:
- coveralls