added changes for travis CI and coveralls.