forked from iterative/dvc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travis: don't override before_install (iterative#2239)
- Loading branch information
Showing
5 changed files
with
73 additions
and
32 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 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 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 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,24 @@ | ||
set -e | ||
set -x | ||
|
||
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then | ||
where python | ||
where pip | ||
else | ||
which python | ||
which pip | ||
fi | ||
|
||
if [[ -z "$PYTHON_VER" ]]; then | ||
exit 0 | ||
fi | ||
|
||
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then | ||
if [[ "$(python -c 'import sys; print(sys.version[:3])')" != "$PYTHON_VER" ]]; then | ||
exit 1 | ||
fi | ||
else | ||
if [[ "$(python --version 2>&1)" != "Python $PYTHON_VER" ]]; then | ||
exit 1 | ||
fi | ||
fi |
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 |
---|---|---|
|
@@ -15,8 +15,7 @@ function retry { | |
# networking issues. Thus, let's retry a few times to see if it will eventially | ||
# work or not. | ||
retry pip install --upgrade pip setuptools wheel | ||
retry pip install -e .[all] | ||
retry pip install -e .[tests] | ||
retry pip install .[all,tests] | ||
|
||
git config --global user.email "[email protected]" | ||
git config --global user.name "DVC Tester" | ||
|