forked from django-commons/django-debug-toolbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (64 loc) · 1.53 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
58
59
60
61
62
63
64
65
dist: xenial
sudo: false
language: python
cache: pip
matrix:
fast_finish: true
include:
- env: TOXENV=flake8
- python: 3.7
env: TOXENV=style
- python: 3.7
env: TOXENV=readme
- python: 3.5
env: TOXENV=py35-dj111
- python: 3.6
env: TOXENV=py36-dj111
- python: 3.7
env: TOXENV=py37-dj111
- python: 3.5
env: TOXENV=py35-dj20
- python: 3.6
env: TOXENV=py36-dj20
- python: 3.7
env: TOXENV=py37-dj20
- python: 3.5
env: TOXENV=py35-dj21
- python: 3.6
env: TOXENV=py36-dj21
- python: 3.7
env: TOXENV=py37-dj21
- python: 3.5
env: TOXENV=py35-dj22
- python: 3.6
env: TOXENV=py36-dj22
- python: 3.7
env: TOXENV=py37-dj22
- python: 3.6
env: TOXENV=py36-djmaster
- python: 3.7
env: TOXENV=py37-djmaster
- python: 3.7
env: TOXENV=postgresql
addons:
postgresql: "9.5"
- python: 3.7
env: TOXENV=mariadb
addons:
mariadb: "10.3"
script:
# working around https://travis-ci.community/t/mariadb-build-error-with-xenial/3160
- mysql -u root -e "DROP USER IF EXISTS 'travis'@'%';"
- mysql -u root -e "CREATE USER 'travis'@'%';"
- mysql -u root -e "CREATE DATABASE debug_toolbar;"
- mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'%';";
- tox -v
allow_failures:
- env: TOXENV=py36-djmaster
- env: TOXENV=py37-djmaster
install:
- pip install tox codecov
script:
- tox -v
after_success:
- codecov