Skip to content
Snippets Groups Projects
Commit dbc1207a authored by Tyler Thatcher's avatar Tyler Thatcher Committed by GitHub
Browse files

Merge pull request #45 from jlaura/docbuilds

Readds doc builds and coverage
parents 7ddb1eac 11cdbead
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ install: ...@@ -37,7 +37,7 @@ install:
- conda config --add channels conda-forge - conda config --add channels conda-forge
- conda install -q gdal h5py pandas sqlalchemy pyyaml networkx affine protobuf scipy pvl - conda install -q gdal h5py pandas sqlalchemy pyyaml networkx affine protobuf scipy pvl
# Development installation # Development installation
- conda install -q pytest pytest-cov sh - conda install -q pytest pytest-cov sh coveralls nbsphinx
script: script:
- pytest --cov=plio - pytest --cov=plio
...@@ -51,7 +51,8 @@ after_success: ...@@ -51,7 +51,8 @@ after_success:
- conda build --token $CONDA_UPLOAD_TOKEN --python $PYTHON_VERSION recipe -q - conda build --token $CONDA_UPLOAD_TOKEN --python $PYTHON_VERSION recipe -q
# Docs to gh-pages # 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 build --source=docs --nowarn # The sphinx build script
- travis-sphinx deploy --branches=dev - travis-sphinx deploy --branches=dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment