Fix connection with travis-ci