Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
ecfb27f4
Commit
ecfb27f4
authored
Jun 17, 2016
by
Matthew Brett
Browse files
Move install run into common_utils
parent
1b069e81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
common_utils.sh
common_utils.sh
+7
-0
docker_test_wrap.sh
docker_test_wrap.sh
+1
-2
travis_osx_steps.sh
travis_osx_steps.sh
+1
-7
No files found.
common_utils.sh
View file @
ecfb27f4
...
...
@@ -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
)
}
docker_test_wrap.sh
View file @
ecfb27f4
...
...
@@ -14,5 +14,4 @@ cd /io
# It must define `run_tests`.
source
config.sh
install_wheel
run_tests
install_run
travis_osx_steps.sh
View file @
ecfb27f4
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment