Commit a6c8c4e4 authored by Johan Bloemberg's avatar Johan Bloemberg

Fix CI dependency injection.

parent 20535920
......@@ -34,7 +34,7 @@ test_mysql: &test_mysql_template
# so they don't need to be passed explicitly
DJANGO_DATABASE: production
# add mysqlclient to tox environment
TOX_EXTRA_DEPS: -rrequirements.deploy.txt
TOX_EXTRAS: deploy
only: [master]
retry: 1
......@@ -55,7 +55,7 @@ test_postgres: &test_postgres_template
DB_ENGINE: postgresql_psycopg2
DB_HOST: postgres
# add mysqlclient to tox environment
TOX_EXTRA_DEPS: -rrequirements.deploy.txt
TOX_EXTRAS: deploy
# run long/non-critical tests only on master
only: [master]
......
......@@ -5,7 +5,10 @@ envlist = check,py34,datasets
[testenv]
basepython = python3
usedevelop = True
extras = development
extras =
development
# allow extras (eg: deploy requirements) to be enabled in CI
{env:TOX_EXTRAS:}
setenv =
DJANGO_SETTINGS_MODULE = failmap_admin.settings
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment