forked from makinacorpus/django-safedelete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (38 loc) · 994 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
48
49
50
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
env:
- DJANGO_VERSION=1.3
- DJANGO_VERSION=1.4
- DJANGO_VERSION=1.5
install:
# This is a dependency of our Django test script
- pip install argparse --use-mirrors
# Install the dependencies of the app itself
# - pip install -r requirements.txt --use-mirrors
- pip install -q Django==$DJANGO_VERSION --use-mirrors
- pip install coverage
- pip install pep8 --use-mirrors
- pip install pyflakes --use-mirrors
before_script:
- "pep8 --ignore=E501 safedelete"
- pyflakes safedelete
script:
- coverage run quicktest.py safedelete
after_success:
- pip install coveralls
- coveralls
# We need to exclude old versions of Django for tests with python 3.
matrix:
exclude:
- python: 3.2
env: DJANGO_VERSION=1.3
- python: 3.3
env: DJANGO_VERSION=1.3
- python: 3.2
env: DJANGO_VERSION=1.4
- python: 3.3
env: DJANGO_VERSION=1.4