[2.7] Build docs in parallel (GH-1842).
diff --git a/.travis.yml b/.travis.yml
index 568b6f06d902f1..df66713eb15b31 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,7 +32,7 @@ matrix:
         # (Updating the version is fine as long as no warnings are raised by doing so.)
         - python -m pip install sphinx~=1.6.1
       script:
-        - make check suspicious html SPHINXOPTS="-q -W"
+        - make check suspicious html SPHINXOPTS="-q -W -j4"
 
 # Travis provides only 2 cores, so don't overdue the parallelism and waste memory.
 before_script:

(cherry picked from commit eba68e2c42e149acecb15bbeb692786e2540157d)