forked from saxix/django-adminactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (45 loc) · 1.06 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
55
56
57
language: python
sudo: false
python:
- 3.6
cache:
directories:
- $HOME/.cache/pip
python:
- 2.7
- 3.4
- 3.5
- 3.6
env:
- DJANGO=1.8
- DJANGO=1.9
- DJANGO=1.10
- DJANGO=1.11
matrix:
exclude:
- python: 2.7
env: DJANGO=2.0
- python: 3.4
env: DJANGO=2.0
- python: 3.6
env: DJANGO=1.8
- python: 3.6
env: DJANGO=1.9
- python: 3.6
env: DJANGO=1.10
install:
- pip install tox
script:
- tox -e "d${DJANGO//.}-py${TRAVIS_PYTHON_VERSION//.}" -- py.test src tests -W ignore --doctest-modules -vv --capture=no --cov=adminactions --cov-report= --cov-config=tests/.coveragerc
before_success:
- coverage erase
after_success:
- coverage combine
- bash <(curl -s https://codecov.io/bash)
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/825f521b72e421171f8e
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always