Fix Travis and Coveralls configurations.