Correct reported error line numbers
Add travis-ci configuration file