diff --git a/.travis.yml b/.travis.yml
index 0682574b853ca987866b7c0fd25306b000663419..63a3b1ce162cba2066bdcc4da7646535f53c2461 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,7 @@ matrix:
 before_install:
   - sudo add-apt-repository -y ppa:biometrics/bob
   - sudo apt-get update -qq
-  - sudo apt-get install -qq bob-dev
+  - sudo apt-get install -qq bob-dev python-opencv libopencv-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