Skip to content

Commit c2a8b52

Browse files
committed
CI: Fix wheel build... weird pip behavior while in source directory
1 parent f043012 commit c2a8b52

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ before_install:
9494
- source venv/bin/activate
9595
- python3 --version # just to check
9696
- travis_retry python3 -m pip install -U $SETUP_REQUIRES
97+
- which python3
98+
- which pip
9799
- |
98100
if [ "$INSTALL_TYPE" == "sdist" ]; then
99101
python3 setup.py egg_info # check egg_info while we're here
@@ -106,15 +108,15 @@ before_install:
106108
export ARCHIVE="package.tar.gz"
107109
git archive -o $ARCHIVE HEAD
108110
fi
109-
- if [ -n "$DEPENDS" ]; then python3 -m pip install $EXTRA_PIP_FLAGS $DEPENDS; fi
111+
- if [ -n "$DEPENDS" ]; then pip install $EXTRA_PIP_FLAGS $DEPENDS; fi
110112

111113
# command to install dependencies
112114
install:
113115
- |
114116
if [ "$INSTALL_TYPE" == "setup" ]; then
115117
python3 setup.py install
116118
else
117-
python3 -m pip install $EXTRA_PIP_FLAGS $ARCHIVE
119+
pip install $EXTRA_PIP_FLAGS $ARCHIVE
118120
fi
119121
# Basic import check
120122
- python3 -c 'import nibabel; print(nibabel.__version__)'

0 commit comments

Comments
 (0)