Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7c9eeed

Browse files
committed
Split install into meaningfull sections
1 parent dbfbb3d commit 7c9eeed

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.travis.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,28 @@ matrix:
5555
- python: "nightly"
5656

5757
before_install:
58-
- source ci/travis/travis_tools.sh
59-
# Install into our own pristine virtualenv
60-
- virtualenv --python=python venv
61-
- source venv/bin/activate
62-
- export PATH=/usr/lib/ccache:$PATH
58+
- |
59+
# Install into our own pristine virtualenv
60+
source ci/travis/travis_tools.sh
61+
virtualenv --python=python venv
62+
source venv/bin/activate
63+
export PATH=/usr/lib/ccache:$PATH
6364
6465
install:
6566
- |
67+
# Setup environment
6668
ccache -s
6769
# Upgrade pip and setuptools and wheel to get as clean an install as possible
6870
pip install --upgrade pip
6971
pip install --upgrade wheel
7072
pip install --upgrade setuptools
71-
# Install only from travis wheelhouse
73+
- |
74+
# Install dependencies
7275
if [ -z "$PRE" ]; then
76+
# Install only from travis wheelhouse
7377
wheelhouse_pip_install $NUMPY $PANDAS;
7478
else
79+
# Fall back to pypi for non suported python versions
7580
pip install $PRE $NUMPY $PANDAS;
7681
fi
7782
# Always install from pypi
@@ -98,6 +103,8 @@ install:
98103
# Use the special local version of freetype for testing
99104
cp ci/travis/setup.cfg .
100105
fi;
106+
- |
107+
# Install matplotlib
101108
pip install -e .
102109
103110
script:

0 commit comments

Comments
 (0)