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

Skip to content

Commit 4d533b7

Browse files
committed
install basemap after matplotlib
1 parent d496dc1 commit 4d533b7

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ install:
102102
if [[ $BUILD_DOCS == true ]]; then
103103
pip install $PRE numpydoc ipython jsonschema mistune colorspacious
104104
pip install -q $PRE linkchecker
105-
# Installing basemap from github until it's back on pypi
106-
pip install https://github.com/matplotlib/basemap/tarball/master
107105
wget https://github.com/google/fonts/blob/master/ofl/felipa/Felipa-Regular.ttf?raw=true -O Felipa-Regular.ttf
108106
wget http://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-humor-sans/fonts-humor-sans_1.0-1_all.deb
109107
mkdir -p tmp
@@ -118,6 +116,13 @@ install:
118116
fi;
119117
120118
- python setup.py install
119+
- |
120+
# Installing basemap from github until it's back on pypi
121+
# We have to install it after matplotlib to avoid pulling in MPL as
122+
# a dependency
123+
if [[ $BUILD_DOCS == true ]]; then
124+
pip install https://github.com/matplotlib/basemap/tarball/master
125+
fi;
121126
122127
script:
123128
# The number of processes is hardcoded, because using too many causes the

0 commit comments

Comments
 (0)