fixed compilation errors not counting towards total error count
added .travis.yml