Update travis config to fix newline issue

Travis changed something along the line and broke the testing here.
I shamelessly stole this update from geerlingguy, again. Thanks!