Fix Travis build and add Coveralls support