From 3281ce35a0e944f0b9565a4641fcc214b868ce17 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Sat, 28 Jul 2018 12:11:47 -0400 Subject: [PATCH] Run phpcs during travis script --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 995c690f..595ab7f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,11 @@ php: - 7.0 - 5.6 - 5.5 -script: ../vendor/bin/phpunit --coverage-clover=coverage.clover +script: + - ../vendor/bin/phpcs ../ + - ../vendor/bin/phpunit --coverage-clover=coverage.clover before_script: - - composer require phpunit/dbunit + - composer require phpunit/dbunit squizlabs/php_codesniffer - mysql -e 'create database alternc_test DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;' - cd phpunit after_script: