From 72bab4cfcda462d06ac516f9526857bfd6f5451b Mon Sep 17 00:00:00 2001 From: tqchen Date: Sat, 12 Sep 2015 21:50:21 -0700 Subject: [PATCH] update doc, fix test --- doc/sphinx_util.py | 1 + scripts/travis_script.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/sphinx_util.py b/doc/sphinx_util.py index 10ed6fddbe46..fd8aaf82e069 100644 --- a/doc/sphinx_util.py +++ b/doc/sphinx_util.py @@ -14,6 +14,7 @@ def run_build_mxnet(folder): subprocess.call('cd ..; rm -rf mshadow;' + 'git clone https://github.com/dmlc/mshadow', shell = True) subprocess.call('cd ..; cp make/readthedocs.mk config.mk', shell = True) + subprocess.call('cd ..; rm -rf build', shell = True) retcode = subprocess.call("cd %s; make" % folder, shell = True) if retcode < 0: sys.stderr.write("build terminated by signal %s" % (-retcode)) diff --git a/scripts/travis_script.sh b/scripts/travis_script.sh index 99d1771d1ac7..9f6fc9b159e6 100755 --- a/scripts/travis_script.sh +++ b/scripts/travis_script.sh @@ -55,7 +55,7 @@ if [ ${TASK} == "cpp_unittest" ]; then echo "USE_CUDA=0" >> config.mk make test || exit -1 export MXNET_ENGINE_TYPE=NaiveEngine - testsp/cpp/unittest || exit -1 + tests/cpp/unittest || exit -1 export MXNET_ENGINE_TYPE=ThreadedEngine tests/cpp/unittest || exit -1 fi