Preserve environ when sudo'ing on Travis-CI

This commit is contained in:
Pedro Algarvio 2012-09-29 22:34:09 +01:00
parent 08503d10d2
commit 0f7855e7fc

View file

@ -14,7 +14,7 @@ before_install:
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
install: pip install -r requirements.txt --use-mirrors
script: sudo python setup.py test --runtests-opts='--run-destructive'
script: sudo -E python setup.py test --runtests-opts='--run-destructive'
notifications:
irc: