Skip to content

Commit

Permalink
Need to build proj for examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Apr 5, 2016
1 parent db3aa7a commit 268fc8a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ before_install:
if [[ $TASK == "examples" ]]; then
export EXTRAS="$EXTRAS,examples";
export EXTRA_PACKAGES="nbconvert ipykernel";
wget https://github.com/OSGeo/proj.4/archive/4.9.2.tar.gz;
tar xf 4.9.2.tar.gz;
pushd proj.4-4.9.2;
./configure --prefix=$HOME/local;
make;
sed -i "" -e s/-I// proj.pc;
make install;
export PKG_CONFIG_PATH="$HOME/local/lib/pkgconfig";
export LD_LIBRARY_PATH="$HOME/local/lib";
pkg-config --modversion proj;
popd;
elif [[ $TASK == "coverage" ]]; then
pip install pytest-cov;
fi;
Expand Down

0 comments on commit 268fc8a

Please sign in to comment.