diff --git a/.travis.yml b/.travis.yml
index 8436b67024bfdb0c3da5457e773a39a86bd3b9b4..5694f5c2b79e1f71ba83cc3bcb35e6c8b35c4bd3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,33 +1,37 @@
-# After changing this file, run it through http://lint.travis-ci.org/
-# Generates 4 builds, the ones for python3 will install external wheels
 language: python
 matrix:
   include:
-    - python: 2.6
-      env:
-        - NUMPYSPEC===1.6.2
-    - python: 2.7
-      env:
-        - NUMPYSPEC===1.8.0
-    - python: 3.2
-      env:
-        - NUMPYSPEC===1.7.1
+  - python: 2.6
+    env:
+    - NUMPYSPEC===1.6.2
+  - python: 2.7
+    env:
+    - NUMPYSPEC===1.8.0
+    - secure: Y3yMHo3YC++q73W2Ea+1HmhmXCBsvYX/RdUJgRBr/16S4YK17A7btqmrgDtP60PKEHY9FqwRxeK1wSa7sZhcqJ7xmi+FVvgqR5DWmlBinQ54+TaB2y0/mUQaQwTU579tzIZH+gN8arnGrqLJQINfU+NPyVDShZAGNl3iLpCGKSc=
+    - secure: SOMZFtB+MHMm2rBLHXzKAmKuINoEjqI1/zlC1dlNKVsCnTgxcXOkogA/YuEFUVIKmoluYTRagdJJ3mOVrHP/X7Z0GZEpZp8q19F1LrRyr1IGIle9DYYUkCV4ZYn+MwZhI7Fzkvlcm+UtjElM1Q4l7zkK/RAhcwYqTaZgZD/xADA=
+  - python: 3.2
+    env:
+    - NUMPYSPEC===1.7.1
 before_install:
-  - sudo add-apt-repository -y ppa:biometrics/bob
-  - sudo add-apt-repository -y ppa:biometrics/bob.preview
-  - sudo apt-get update -qq
-  - sudo apt-get install -qq --force-yes bob-dev
-  - if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
-  - if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
-  - if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; fi
-  - pip install cpp-coveralls
+- sudo add-apt-repository -y ppa:biometrics/bob
+- sudo add-apt-repository -y ppa:biometrics/bob.preview
+- sudo apt-get update -qq
+- sudo apt-get install -qq --force-yes bob-dev
+- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev
+  liblapack-dev gfortran; fi
+- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
+- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/
+  --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose;
+  fi
+- pip install cpp-coveralls
 install:
-  - "python bootstrap.py"
-  - "CFLAGS=-coverage ./bin/buildout"
+- python bootstrap.py
+- CFLAGS=-coverage ./bin/buildout
 script:
-  - "./bin/python -c 'from bob.learn.misc import get_config; print(get_config())'"
-  - "./bin/coverage run --source=bob.learn.misc ./bin/nosetests -sv"
-  - "./bin/sphinx-build -b doctest doc sphinx"
-  - "./bin/sphinx-build -b html doc sphinx"
+- ./bin/python -c 'from bob.learn.misc import get_config; print(get_config())'
+- ./bin/coverage run --source=bob.learn.misc ./bin/nosetests -sv
+- ./bin/sphinx-build -b doctest doc sphinx
+- ./bin/sphinx-build -b html doc sphinx
 after_success:
-  - "coveralls --build-root=`pwd` --exclude=src"
+- coveralls --build-root=`pwd` --exclude=src
+- ./src/bob.extension/scripts/upload-sphinx.sh