forked from makinacorpus/django-safedelete
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
54 lines (42 loc) · 1.1 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
44
45
46
47
48
49
50
51
52
53
54
language: python
sudo: false
python:
- 3.4
- 3.5
- 3.6
# - 3.7
env:
- DJANGO_VERSION="stable/1.11.x"
- DJANGO_VERSION="stable/2.0.x"
- DJANGO_VERSION="stable/2.1.x"
- DJANGO_VERSION="stable/2.2.x"
install:
# This is a dependency of our Django test script
- pip install argparse
# Install the dependencies of the app itself
# - pip install -r requirements.txt
# Clone Django from the GitHub repository
- git clone -b $DJANGO_VERSION --single-branch https://github.com/django/django
- pip install -e django/
- pip install -e .
- pip install 'coverage>=3,<4'
- pip install pep8
- pip install pyflakes
before_script:
- "pep8 --ignore=E501 safedelete"
- pyflakes safedelete
script:
- coverage run `which django-admin.py` test --settings=safedelete.tests.settings
after_success:
- pip install coveralls
- coveralls
matrix:
exclude:
- python: 3.4
env: DJANGO_VERSION="stable/2.1.x"
- python: 3.4
env: DJANGO_VERSION="stable/2.2.x"
# - python: 3.7
# env: DJANGO_VERSION="stable/1.11.x"
# - python: 3.7
# env: DJANGO_VERSION="stable/2.0.x"