Commit e3b08c7f by markotibold

All should work fine now on jenkins. For some reason Tox with jenkins and env…

All should work fine now on jenkins. For some reason Tox with jenkins and env names of the form platform-djangoversion-examples results in an OSError Permission denied. No clue why.
parent 34c4585c
import os import os
import sys import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'examples.settings' os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from django.conf import settings from django.conf import settings
from django.test.utils import get_runner from django.test.utils import get_runner
......
#This file is very NON-DRY because tox currently doesn't yet support interpolation like configparser does. #This file is very NON-DRY because tox currently doesn't support interpolation like configparser does.
#There's ticket covering this at http://code.google.com/p/pytox/issues/detail?id=17#c0 #There's a ticket covering this at http://code.google.com/p/pytox/issues/detail?id=17#c0
[tox] [tox]
envlist= envlist=
...@@ -12,10 +12,10 @@ envlist= ...@@ -12,10 +12,10 @@ envlist=
py25-django12e, py25-django12e,
py26-django12e, py26-django12e,
py27-django12-examples, py27-django12e,
py25-django13-examples, py25-django13e,
py26-django13-examples, py26-django13e,
py27-django13-examples py27-django13e
########################################### CORE TESTS ############################################ ########################################### CORE TESTS ############################################
...@@ -96,7 +96,7 @@ deps= ...@@ -96,7 +96,7 @@ deps=
Markdown==2.0.3 Markdown==2.0.3
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
[testenv:py27-django12-examples] [testenv:py27-django12e]
basepython=python2.7 basepython=python2.7
commands= commands=
python examples/runtests.py python examples/runtests.py
...@@ -123,7 +123,7 @@ deps= ...@@ -123,7 +123,7 @@ deps=
Markdown==2.0.3 Markdown==2.0.3
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
[testenv:py26-django13-examples] [testenv:py26-django13e]
basepython=python2.6 basepython=python2.6
commands= commands=
python examples/runtests.py python examples/runtests.py
...@@ -136,7 +136,7 @@ deps= ...@@ -136,7 +136,7 @@ deps=
Markdown==2.0.3 Markdown==2.0.3
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
[testenv:py27-django13-examples] [testenv:py27-django13e]
basepython=python2.7 basepython=python2.7
commands= commands=
python examples/runtests.py python examples/runtests.py
......
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