Add code quality tests to travis-ci