remove docs from .travis.yml

This commit is contained in:
mjames-upc 2017-04-12 16:10:56 -06:00
parent a2fde4e03d
commit db1c8a128a

View file

@ -14,15 +14,12 @@ env:
- WHEELDIR="wheelhouse/"
- EXTRA_INSTALLS="test,cdm"
- MPLLOCALFREETYPE="1"
matrix:
- TASK="docs"
matrix:
include:
- python: 2.7
env:
- VERSIONS="numpy==1.9.1"
- TEST_OUTPUT_CONTROL=""
- python: 3.4
env:
- python: 3.5
@ -39,30 +36,6 @@ before_install:
# Shapely dependency needed to keep from using Shapely's manylinux wheels
# which use a different geos that what we build cartopy with on Travis
- pip install --upgrade pip;
- if [[ $TASK == "docs" ]]; then
if ! git describe --tags; then git fetch --depth=150; fi;
export EXTRA_INSTALLS="cdm,doc,examples";
export EXTRA_PACKAGES="Cython pillow shapely<1.5.17.post1 sphinx_rtd_theme";
ls $HOME/local/lib/;
if [[ ! -f $HOME/local/lib/libproj.so ]]; then
wget http://download.osgeo.org/proj/proj-4.9.3.tar.gz;
tar xf proj-4.9.3.tar.gz;
pushd proj-4.9.3;
./configure --prefix=$HOME/local;
make;
sed -i "" -e s/-I// proj.pc;
make install;
popd;
fi;
export PKG_CONFIG_PATH="$HOME/local/lib/pkgconfig";
export LD_LIBRARY_PATH="$HOME/local/lib";
pkg-config --modversion proj;
else
export TEST_OPTS="--flake8 --mpl";
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then
pip install flake8-bugbear;
fi;
fi;
- mkdir $WHEELDIR;
- pip download -d $WHEELDIR ".[$EXTRA_INSTALLS]" $EXTRA_PACKAGES -f $WHEELHOUSE $PRE $VERSIONS;
- touch $WHEELDIR/download_marker && ls -lrt $WHEELDIR;
@ -74,17 +47,4 @@ before_install:
install:
- pip install ".[$EXTRA_INSTALLS]" --upgrade --no-index $PRE -f file://$PWD/$WHEELDIR $VERSIONS;
script:
- if [[ $TASK == "docs" ]]; then
export TEST_DATA_DIR=${TRAVIS_BUILD_DIR}/testdata;
pushd docs;
make clean html linkcheck;
export DOC_BUILD_RESULT=$?;
popd;
doc8 --file-encoding utf8 README.rst docs/;
if [[ $DOC_BUILD_RESULT -ne 0 || $? -ne 0 ]]; then
false;
fi;
else
true;
fi
script: true