Do not modify $PATH and $LD_LIBRARY_PATH unless on travis

This commit is contained in:
ZyX 2015-02-21 02:00:13 +03:00
parent e7c381a63f
commit fb0fba6c6d

View File

@ -8,6 +8,7 @@ export USER HOME
FAILED=0
if test "$TRAVIS" = true ; then
export PATH="/opt/fish/bin:${PATH}"
if test "$PYTHON_IMPLEMENTATION" = "CPython" ; then
@ -21,6 +22,7 @@ if test -n "$USE_UCS2_PYTHON" ; then
workon cpython-ucs2-$UCS2_PYTHON_VARIANT
set -e
fi
fi
export PYTHON="${PYTHON:=python}"
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}`realpath .`"