Try to export the virtualenv deactivate function as we want to deactivate it for Jython builds

master
baztian 2014-02-11 20:16:25 +01:00
parent fcd764c040
commit 70261c2ee5
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ matrix:
env: JYTHON=jython-installer:2.5.3 BACKEND=hsqldb
before_install:
- export -f deactivate
- ci/before_install.sh
- source ~/myvirtualenv/bin/activate

View File

@ -5,6 +5,7 @@ pip install jip==0.7
jip install org.python:$JYTHON
_JYTHON_BASENAME=${JYTHON/:/-}
OLD_VIRTUAL_ENV=$VIRTUAL_ENV
deactivate
java -jar $OLD_VIRTUAL_ENV/javalib/${_JYTHON_BASENAME}.jar -s -d ~/jython
touch requirements.txt
BEFORE_PY_26=$(~/jython/bin/jython -c "import sys; print sys.version_info < (2, 6)")