Add travis for codestyle checks

Add travis for automatic code style checks.