diff --git a/.travis.yml b/.travis.yml index 15fb3ed..d32a7a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,8 @@ php: - 5.4 - 7.0 -script: ./vendor/bin/phpunit \ No newline at end of file +script: + - vendor/bin/phpcs --standard=POET --generator=markdown > POET.md + # If this command fails, it means the POET.md file is out of date. + - git diff-index --quiet HEAD + - vendor/bin/phpunit \ No newline at end of file