diff --git a/.travis.yml b/.travis.yml
index 627899947233fd7744a9aa32092aa6364a2921b3..f8168067e6d160fa5c835826737f87bd4b7a8c9f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,10 +35,17 @@ install:
   - pip install -r requirements.txt
   - pip install .
   - pip install coveralls
+env:
+  global:
+    - PYTHONHASHSEED=0 
+  matrix:
+    # Enable this eventually after getting tensorflow to build on travis:
+    # - KERAS_BACKEND=theano KERAS_BACKEND=tensorflow
+    - KERAS_BACKEND=theano
 script:
   # download data and models, then run tests
   - mhcflurry-downloads fetch
   - mhcflurry-downloads info  # just to test this command works
-  - KERAS_BACKEND=theano PYTHONHASHSEED=0 nosetests test --with-coverage --cover-package=mhcflurry  && ./lint.sh
+  - nosetests test --with-coverage --cover-package=mhcflurry  && ./lint.sh
 after_success:
   coveralls