From 573c0736d7ffad2d12d6f2d4042ed4037e3378b5 Mon Sep 17 00:00:00 2001
From: Tim O'Donnell <timodonnell@gmail.com>
Date: Wed, 21 Sep 2016 18:32:27 -0400
Subject: [PATCH] tweak travis

---
 .travis.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 62789994..f8168067 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
-- 
GitLab