Unverified Commit 97f09ba5 authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Travis CI for doc builds (#429)

* Updates to get docs rendering across the library.

* Travis deploy docs

* Missed the nbsphinx doc install

* Moves doc push before conda to avoid env swapping

* Trying travis with a deploy on dev
parent aace5fd2
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -64,14 +64,12 @@ script:

after_success:
  - coveralls
  - |
  if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
    travis-sphinx deploy;
    source deactivate;
    conda install conda-build anaconda-client;
    conda config --set anaconda_upload yes;
    conda build --token $CONDA_UPLOAD_TOKEN --python $PYTHON_VERSION -c conda-forge -c menpo -c usgs-astrogeology conda;
  fi
 
deploy:
  provider: script
  script: deploy.sh
  on:
    branch: dev

notifications:
  webhooks: