Travis CI improvements and monkey patch for Theano/sympy integration