Added Travis CI detection to allow more time in tests