statify-blacklist/.travis.yml
Stefan Kalscheuer 5f2d883186 Travis CI added
Added Travis CI builds to run PHPUnit test on every supported PHP version. Also automated PHPCS checks are performed to enforce coding standards.
2017-07-15 17:26:08 +02:00

15 lines
405 B
YAML

language: php
dist: trusty
php:
- '5.5'
- '5.6'
- '7.0'
- '7.1'
before_script:
- composer install --no-interaction
- vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs
script:
- vendor/bin/phpunit ./test/statifyblacklist-test.php
- vendor/bin/phpcs statify-blacklist.php --standard=ruleset.xml
- vendor/bin/phpcs ./inc/ --standard=ruleset.xml --extensions=php