forked from saxix/django-concurrency
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (33 loc) · 770 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
language: python
sudo: true
python:
- 3.6
- 3.7
- 3.8
addons:
postgresql: "9.4"
cache:
directories:
- $HOME/.cache/pip
services:
- MySQL
- PostgreSQL
env:
- DJANGO=3.0 DB=pg
- DJANGO=3.0 DB=mysql
install:
- pip install tox "coverage<=4.0" codecov
script:
- tox -e "py${TRAVIS_PYTHON_VERSION//.}-d${DJANGO//.}-${DB}" -- pytest tests -v
before_success:
- coverage erase
after_success:
- coverage combine
- codecov
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/bf3806c14c6efcff7da1
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always