Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove DJANGO_SETTINGS_MODULE from CI settings

jxltom9de3c5bed7d9
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 1805e40460..eea42575c2 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -28,9 +28,8 @@ jobs:
name: Run tests
command: |
docker run -d --name db -e POSTGRES_USER=saleor -e POSTGRES_PASSWORD=saleor postgres:9.6-alpine
- docker run --network container:db --rm -e DATABASE_URL -e DJANGO_SETTINGS_MODULE -e SECRET_KEY mirumee/saleor:latest pytest
+ docker run --network container:db --rm -e DATABASE_URL -e SECRET_KEY mirumee/saleor:latest pytest
environment:
- DJANGO_SETTINGS_MODULE: tests.settings
DATABASE_URL: postgres://saleor:saleor@localhost:5432/saleor
SECRET_KEY: irrelevant
- deploy:
diff --git a/.travis.yml b/.travis.yml
index 7ad1bd254e..550bb786c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,7 +21,6 @@ script:
- tox
env:
global:
- - DJANGO_SETTINGS_MODULE=tests.settings
- DATABASE_URL='postgres://postgres@localhost:5432/saleor'
matrix:
- DJANGO="1.11"
diff --git a/tox.ini b/tox.ini
index be22b1240f..ec3f1f8bb8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,7 @@ skipsdist = True
[testenv]
passenv =
CODECOV_* TOXENV CI TRAVIS TRAVIS_*
- DJANGO_SETTINGS_MODULE DATABASE_URL
+ DATABASE_URL
deps =
-rrequirements.txt
-rrequirements_dev.txt