From 11cdbeaddc9663a46088125b99812cb214e4eec8 Mon Sep 17 00:00:00 2001 From: Jay <jlaura@usgs.gov> Date: Mon, 7 May 2018 11:57:00 -0700 Subject: [PATCH] Readds doc builds and coverage --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d2e09d..d05d2d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ install: - conda config --add channels conda-forge - conda install -q gdal h5py pandas sqlalchemy pyyaml networkx affine protobuf scipy pvl # Development installation - - conda install -q pytest pytest-cov sh + - conda install -q pytest pytest-cov sh coveralls nbsphinx script: - pytest --cov=plio @@ -51,7 +51,8 @@ after_success: - conda build --token $CONDA_UPLOAD_TOKEN --python $PYTHON_VERSION recipe -q # Docs to gh-pages - - source activate test_env # Reactivate the env to have all deps installed. + - source activate test # Reactivate the env to have all deps installed. + - pip install travis-sphinx - travis-sphinx build --source=docs --nowarn # The sphinx build script - travis-sphinx deploy --branches=dev -- GitLab