Commit 1fc19ae3 by Steven Xu

download third party dependencies to home dir for caching

parent 837e6493
...@@ -9,6 +9,7 @@ python -c "import nltk; nltk.download('all')" || echo "NLTK data download failed ...@@ -9,6 +9,7 @@ python -c "import nltk; nltk.download('all')" || echo "NLTK data download failed
pip install --upgrade -r pip-req.txt --allow-external matplotlib --allow-unverified matplotlib pip install --upgrade -r pip-req.txt --allow-external matplotlib --allow-unverified matplotlib
#download external dependencies #download external dependencies
pushd ${HOME}
[[ ! -d 'third' ]] && mkdir 'third' [[ ! -d 'third' ]] && mkdir 'third'
pushd 'third' pushd 'third'
...@@ -34,6 +35,7 @@ if [[ ! -d ${stanford_parser_package_name} ]]; then ...@@ -34,6 +35,7 @@ if [[ ! -d ${stanford_parser_package_name} ]]; then
fi fi
popd popd
popd
#coverage #coverage
coverage erase coverage erase
......
...@@ -88,14 +88,14 @@ commands = python runtests.py [] ...@@ -88,14 +88,14 @@ commands = python runtests.py []
basepython = python2.6 basepython = python2.6
commands = {toxinidir}/jenkins.sh commands = {toxinidir}/jenkins.sh
setenv = setenv =
STANFORD_MODELS = {toxinidir}/third/stanford-parser/ STANFORD_MODELS = {homedir}/third/stanford-parser/
STANFORD_PARSER = {toxinidir}/third/stanford-parser/ STANFORD_PARSER = {homedir}/third/stanford-parser/
STANFORD_POSTAGGER = {toxinidir}/third/stanford-postagger/ STANFORD_POSTAGGER = {homedir}/third/stanford-postagger/
[testenv:py32-jenkins] [testenv:py32-jenkins]
basepython = python3.2 basepython = python3.2
commands = {toxinidir}/jenkins.sh commands = {toxinidir}/jenkins.sh
setenv = setenv =
STANFORD_MODELS = {toxinidir}/third/stanford-parser/ STANFORD_MODELS = {homedir}/third/stanford-parser/
STANFORD_PARSER = {toxinidir}/third/stanford-parser/ STANFORD_PARSER = {homedir}/third/stanford-parser/
STANFORD_POSTAGGER = {toxinidir}/third/stanford-postagger/ STANFORD_POSTAGGER = {homedir}/third/stanford-postagger/
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