forked from TyMaszWeb/django-cookie-law
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 820 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
sudo: false
dist: xenial # required for Python >= 3.7
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
env:
global:
- DJANGO_SETTINGS_MODULE=settings
matrix:
- DJANGO="Django<1.12"
- DJANGO="Django<2.1"
- DJANGO="Django<2.2"
- DJANGO="Django<2.3"
matrix:
exclude:
# See: https://docs.djangoproject.com/en/1.11/faq/install/#what-python-version-can-i-use-with-django
- python: "2.7"
env: DJANGO="Django<2.1"
- python: "2.7"
env: DJANGO="Django<2.2"
- python: "2.7"
env: DJANGO="Django<2.3"
cache:
directories:
- $HOME/.cache/pip
install:
- pip install --upgrade pipenv
- pipenv install $DJANGO
- pipenv install .
- pipenv install --dev six pytest pytest-django pytest-selenium selenium
script:
- pipenv run python setup.py test