Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
bug 1352232: Less Travis-specific environment
Browse files Browse the repository at this point in the history
Drop PYTHONPATH, CFLAGS, and DEBIAN_FRONTED from the environment overrides.
  • Loading branch information
jwhitlock committed May 17, 2017
1 parent f29abbe commit e6d8b66
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -16,10 +16,8 @@ services:
- mysql
env:
global:
- CFLAGS=-O0
- DATABASE_URL=mysql://root:@127.0.0.1:3306/kuma
- DJANGO_SETTINGS_MODULE=kuma.settings.travis
- DEBIAN_FRONTEND=noninteractive
- DOCKER_COMPOSE_VERSION=1.9.0
# ES_VERSION must come before ES_DOWNLOAD_URL
- ES_VERSION=2.4.5
Expand Down
2 changes: 0 additions & 2 deletions scripts/docker-compose.travis.yml
Expand Up @@ -6,8 +6,6 @@ services:
dockerfile: Dockerfile-base
environment:
- DJANGO_SETTINGS_MODULE
- DEBIAN_FRONTEND
- CFLAGS

web:
<<: *worker
Expand Down
6 changes: 1 addition & 5 deletions tox.ini
Expand Up @@ -10,15 +10,11 @@ commands =
make compilejsi18n collectstatic clean
py.test --no-migrations --cov=kuma kuma
setenv =
PYTHONPATH = .
CFLAGS = -O0
# TODO: remove once http://bugzil.la/1127798 is fixed
PYTHONHASHSEED = 0
passenv =
DJANGO_SETTINGS_MODULE
DEBIAN_FRONTEND
CFLAGS
DATABASE_URL
DJANGO_SETTINGS_MODULE
PIPELINE_*

[testenv:flake8]
Expand Down

0 comments on commit e6d8b66

Please sign in to comment.