Add travis for codestyle checks

Add travis for automatic code style checks.
The PHP version is correct.