forked from greyside/django-admin-smoke-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (37 loc) · 780 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
sudo: false
language: python
python:
- "2.7"
- "3.5"
env:
- DJANGO_VERSION=dj17
- DJANGO_VERSION=dj18
- DJANGO_VERSION=dj19
- DJANGO_VERSION=dj110
- DJANGO_VERSION=djdev
matrix:
allow_failures:
- env: DJANGO_VERSION=djdev
exclude:
- python: "3.5"
env: DJANGO_VERSION=dj17
include:
- python: "2.7"
env: MODE=flake8
- python: "3.4"
env: DJANGO_VERSION=dj17
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
install:
- pip install -U pip
- pip install -U wheel virtualenv
- pip install tox coveralls
- python setup.py install
after_success:
- coveralls
script:
- coverage erase
- tox -e py${TRAVIS_PYTHON_VERSION/./}-${DJANGO_VERSION}${MODE}