Use gcc.cxxflags=-pipe for travis tests

Make theano use a ramdisk to store the cache when running the unit tests on Travis