From 145abc16c7e2602752c2ae83947f398f88b231fa Mon Sep 17 00:00:00 2001
From: jlaura <jlaura@asu.edu>
Date: Thu, 1 Feb 2018 19:33:05 -0700
Subject: [PATCH] Update .travis.yml

---
 .travis.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 9d3c2a2..2d2e09d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,8 +36,6 @@ before_install:
 install:
   - conda config --add channels conda-forge
   - conda install -q gdal h5py pandas sqlalchemy pyyaml networkx affine protobuf scipy pvl
-  # For travis/conda uploads
-  - conda install pip setuptools
   # Development installation
   - conda install -q pytest pytest-cov sh
 
@@ -52,6 +50,11 @@ after_success:
   - conda config --set anaconda_upload yes
   - 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.
+  - travis-sphinx build --source=docs --nowarn # The sphinx build script
+  - travis-sphinx deploy --branches=dev
+
 notifications:
   webhooks:
     on_success: always
-- 
GitLab