forked from tomatohater/django-unfriendly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (39 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
# Tell Travis you want a Python environment to test in
language: python
# List the versions of Python you'd like to test against
python:
- "2.6"
- "2.7"
# List the versions of Django you'd like to test against
env:
- DJANGO_VERSION=1.1.4
- DJANGO_VERSION=1.2.7
- DJANGO_VERSION=1.3.7
- DJANGO_VERSION=1.4.21
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.9
- DJANGO_VERSION=1.8.3
# Tell it the things it will need to install when it boots
install:
# This is a dependency of our Django test script
- pip install argparse
- pip install coverage
- pip install coveralls
- pip install mock
# Install the dependencies the app itself has
- pip install pycrypto>=2.0.1
# Install whatever version of Django that's listed above
# Travis is currently working on
- pip install -q Django==$DJANGO_VERSION
# Tell Travis how to run the test script itself
script:
coverage run --source=unfriendly quicktest.py unfriendly
after_success:
coveralls
matrix:
exclude:
- python: "2.6"
env: DJANGO_VERSION=1.7.9
- python: "2.6"
env: DJANGO_VERSION=1.8.3