forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI Uses bash instead of batch on Azure Windows jobs (scikit-learn#20715)
Co-authored-by: Olivier Grisel <[email protected]>
- Loading branch information
1 parent
5088a40
commit adae279
Showing
6 changed files
with
45 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -x | ||
|
||
if [[ "$PYTHON_ARCH" == "64" ]]; then | ||
conda create -n $VIRTUALENV -q -y python=$PYTHON_VERSION numpy scipy cython matplotlib wheel pillow joblib | ||
|
||
source activate $VIRTUALENV | ||
|
||
pip install threadpoolctl | ||
|
||
if [[ "$PYTEST_VERSION" == "*" ]]; then | ||
pip install pytest | ||
else | ||
pip install pytest==$PYTEST_VERSION | ||
fi | ||
else | ||
pip install numpy scipy cython pytest wheel pillow joblib threadpoolctl | ||
fi | ||
|
||
if [[ "$PYTEST_XDIST_VERSION" != "none" ]]; then | ||
pip install pytest-xdist | ||
fi | ||
|
||
if [[ "$COVERAGE" == "true" ]]; then | ||
pip install coverage codecov pytest-cov | ||
fi | ||
|
||
python --version | ||
pip --version | ||
|
||
# Build scikit-learn | ||
python setup.py bdist_wheel | ||
|
||
# Install the generated wheel package to test it | ||
pip install --pre --no-index --find-links dist scikit-learn |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters