ToffeeIR CI hotfix

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
diff --git a/.travis.yml b/.travis.yml
index 0b7fd1e..5b9fb3d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,8 @@
 # https://travis-ci.org/pytorch/pytorch
 language: python
 dist: trusty
+git:
+  submodules: false
 python:
     - 2.7.9
     - 2.7
@@ -21,6 +23,10 @@
     - ccache --show-stats
     - travis_retry pip install --upgrade pip setuptools wheel
     - travis_retry pip install -r requirements.txt --only-binary=scipy
+    - git submodule update --init --recursive -- torch/lib/nanopb
+    - git submodule update --init --recursive -- torch/lib/gloo
+    - git submodule update --init --recursive -- torch/lib/pybind11
+    # Purposely excluded ToffeeIR
     - MAX_JOBS=8 python setup.py install
 
 addons: