Skip to content

Commit 257217f

Browse files
committed
BLD: fix build caching
1 parent 2d876be commit 257217f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ python_major_version="${TRAVIS_PYTHON_VERSION:0:1}"
3232
[ "$python_major_version" == "2" ] && python_major_version=""
3333

3434
home_dir=$(pwd)
35+
echo "home_dir: [$home_dir]"
3536

3637
# known working
3738
# pip==1.5.1
@@ -100,15 +101,14 @@ if [ -n "$NUMPY_BUILD" ]; then
100101
time pip install .
101102
pip uninstall cython -y
102103

103-
cd $curdir
104+
cd $home_dir
104105
numpy_version=$(python -c 'import numpy; print(numpy.__version__)')
105-
echo "[$curdir] numpy current: $numpy_version"
106+
echo "[$home_dir] numpy current: $numpy_version"
106107
fi
107108

108109
# Force virtualenv to accept system_site_packages
109110
rm -f $VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/no-global-site-packages.txt
110111

111-
cd $home_dir
112112
time pip install $PIP_ARGS -r ci/requirements-${wheel_box}.txt
113113

114114
# Need to enable for locale testing. The location of the locale file(s) is

0 commit comments

Comments
 (0)