diff --git a/.travis.yml b/.travis.yml
index 1fd064a231fd4d104970606f45e6e2f54939e3ec..0748907015562e2f87e20c4e2a82a34f1538fd0b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,7 +25,7 @@ matrix:
 before_install:
   - sudo add-apt-repository ppa:asolovets/backports -y
   - sudo apt-get update -qq
-  - if [ "$BINDINGS" != "none" ]; then sudo apt-get install -qq swig=2.0.10-0; swig -version; fi
+  - if [ "$BINDINGS" != "none" ]; then sudo apt-get install -qq swig2.0=2.0.10-0ubuntu2~precise1~ppa1; swig -version; fi
   - if [ "$BINDINGS" == "python" ]; then sudo apt-get install -qq python-dev; fi
 
 install: true