Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mpasternak committed Nov 13, 2017
1 parent 716d18b commit 81e8e75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ services:
- TRAVIS
- TRAVIS_JOB_ID
- TRAVIS_BRANCH
- DJANGO_LIVE_TEST_SERVER_ADDRESS=test
ports:
- 9500
volumes:
- .:/usr/src/app
environment:
- DJANGO_LIVE_TEST_SERVER_ADDRESS=test
links:
- db
- selenium
Expand Down
3 changes: 2 additions & 1 deletion test_project/runtests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash -e

set
echo "TRAVIS_JOB_ID=$TRAVIS_JOB_ID"
echo "DJANGO_LIVE_TEST_SERVER_ADDRESS=$DJANGO_LIVE_TEST_SERVER_ADDRESS"

export PYTHONPATH=..:$PYTHONPATH
export DJANGO_SETTINGS_MODULE=test_project.settings
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ usedevelop = true
commands =
./runtests.sh
coveralls

passenv =
DJANGO_LIVE_TEST_SERVER_ADDRESS
TRAVIS
Expand All @@ -16,4 +17,4 @@ passenv =
deps =
django110: django>=1.10,<1.11
django111: django>=1.11,<1.12
-r{toxinidir}/requirements_dev.txt
-r{toxinidir}/requirements_dev.txt

0 comments on commit 81e8e75

Please sign in to comment.