Skip to content

Commit

Permalink
Run tests with MariaDB too on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Nov 28, 2018
1 parent e78ac8c commit 762e5d9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ matrix:
env: TOXENV=postgresql
addons:
postgresql: "9.5"
- python: 3.7
env: TOXENV=mariadb
addons:
mariadb: "10.3"
- env: TOXENV=flake8
- python: 3.7
env: TOXENV=style
Expand Down
17 changes: 17 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ envlist =
py{35,36,37}-dj21
py{35,36,37}-djmaster
postgresql,
mariadb,
flake8,
style,
readme
Expand Down Expand Up @@ -42,6 +43,22 @@ whitelist_externals = make
pip_pre = True
commands = make coverage TEST_ARGS='{posargs:tests}'

[testenv:mariadb]
deps =
Django>=2.1,<2.2
coverage
django_jinja
html5lib
mysqlclient
selenium<4.0
sqlparse
setenv =
PYTHONPATH = {toxinidir}
DJANGO_DATABASE_ENGINE = mysql
whitelist_externals = make
pip_pre = True
commands = make coverage TEST_ARGS='{posargs:tests}'

[testenv:flake8]
basepython = python3
commands = make flake8
Expand Down

0 comments on commit 762e5d9

Please sign in to comment.