diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d23b6758c637792c751197789ec171d652ae8a4..a99970a9b08427d788917634981c06bbf64a5da3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,3 +22,12 @@ Python 3.5 POCL:
   - pocl
   except:
   - tags
+Documentation:
+  script:
+  - EXTRA_INSTALL="numpy mako"
+  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-docs.sh
+  - ". ./build-docs.sh"
+  tags:
+  - python3.5
+  only:
+  - master
diff --git a/doc/upload-docs.sh b/doc/upload-docs.sh
index fbe47d73512982c47a7a160327d145d6a961fe09..c4d621d9bf19875ff1172f382ee7dbc970f2473e 100755
--- a/doc/upload-docs.sh
+++ b/doc/upload-docs.sh
@@ -1,3 +1,3 @@
 #! /bin/sh
 
-rsync --progress --verbose --archive --delete _build/html/* doc-upload:doc/sumpy
+rsync --verbose --archive --delete _build/html/* doc-upload:doc/sumpy