forked from dominno/django-moderation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (54 loc) · 1.54 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
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
env:
- DJANGO='Django>=1.7,<1.8'
- DJANGO='Django>=1.8,<1.9'
- DJANGO='Django>=1.9,<1.10'
- DJANGO='Django>=1.10,<1.11'
- DJANGO='Django>=1.11,<2.0'
- DJANGO='https://github.com/django/django/archive/master.tar.gz'
matrix:
exclude:
- python: "3.3"
env: DJANGO='Django>=1.9,<1.10'
- python: "3.3"
env: DJANGO='Django>=1.10,<1.11'
- python: "3.3"
env: DJANGO='Django>=1.11,<2.0'
- python: "3.5"
env: DJANGO='Django>=1.7,<1.8'
- python: "3.6"
env: DJANGO='Django>=1.7,<1.8'
- python: "3.6"
env: DJANGO='Django>=1.8,<1.9'
- python: "3.6"
env: DJANGO='Django>=1.9,<1.10'
- python: "3.6"
env: DJANGO='Django>=1.10,<1.11'
- python: "2.7"
env: DJANGO='https://github.com/django/django/archive/master.tar.gz'
- python: "3.3"
env: DJANGO='https://github.com/django/django/archive/master.tar.gz'
- python: "3.4"
env: DJANGO='https://github.com/django/django/archive/master.tar.gz'
allow_failures:
- env: DJANGO='Django>=1.7,<1.8'
- env: DJANGO='https://github.com/django/django/archive/master.tar.gz'
install:
- pip install --quiet $DJANGO
- pip install --quiet coverage>=3.6
- pip install --quiet flake8
- pip install -e .
before_script:
- flake8 --exclude=migrations,migrations-pre17 --ignore=W291,E501,F401,F403 moderation tests
script:
- coverage run setup.py test
after_success:
- coverage report
- pip install --quiet --use-mirrors coveralls
- coveralls