forked from makinacorpus/django-safedelete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (40 loc) · 1.14 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
language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
env:
- DJANGO_VERSION="stable/1.8.x"
- DJANGO_VERSION="stable/1.9.x"
- DJANGO_VERSION="stable/1.10.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
# 1.9: Dropped support for 3.2-3.3: https://docs.djangoproject.com/en/dev/releases/1.9/#python-compatibility
matrix:
exclude:
- python: 3.3
env: DJANGO_VERSION="stable/1.9.x"
- python: 3.3
env: DJANGO_VERSION="stable/1.10.x"
- python: 3.5
env: DJANGO_VERSION="stable/1.8.x"