From db1c8a128a13583b9c174417df6859ad68f307eb Mon Sep 17 00:00:00 2001 From: mjames-upc Date: Wed, 12 Apr 2017 16:10:56 -0600 Subject: [PATCH] remove docs from .travis.yml --- .travis.yml | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/.travis.yml b/.travis.yml index a7c79d3..ac4d448 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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