Commit ecfb27f4 authored by Matthew Brett's avatar Matthew Brett
Browse files

Move install run into common_utils

parent 1b069e81
......@@ -96,3 +96,10 @@ function install_wheel {
pip install $(pip_opts) $@ \
$(python $MULTIBUILD_DIR/supported_wheels.py $wheelhouse/*.whl)
}
function install_run {
# Depends on function `run_tests` defined in `config.sh`
install_wheel
mkdir tmp_for_test
(cd tmp_for_test && run_tests)
}
......@@ -14,5 +14,4 @@ cd /io
# It must define `run_tests`.
source config.sh
install_wheel
run_tests
install_run
......@@ -18,13 +18,7 @@ function before_install {
}
# build_wheel function defined in common_utils (via osx_utils)
function install_run {
# Depends on function `run_tests` defined in `config.sh`
install_wheel
mkdir tmp_for_test
(cd tmp_for_test && run_tests)
}
# install_run function defined in common_utils
# Local configuration may define custom pre-build, source patching.
# It can also overwrite the functions above.
......
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