added travis support and coverall

Use 2 (not 1) spaces for indentation.<br>Redundant `self` detected.<br>Tab detected.