Travis CI for PHPUnit and PHP_CodeSniffer

# .travis.yml, this file must be under project root folder.

language: php
php:
    - 7.2
before_script:
    - composer self-update
    - composer install --prefer-source --no-interaction --dev
script:
    - phpunit
    - ./vendor/bin/phpcs

 

Views: 358