diff --git a/.travis.yml b/.travis.yml
index 9d3c2a2b87f2c38d16518c8595d0e53f581b3f5a..2d2e09d128b335233fa9baaf909e17292fe3f9d1 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