detect travis-ci enviroment and use larger timeout if so