From: ArthurHoaro Date: Mon, 9 Nov 2020 09:56:02 +0000 (+0100) Subject: Run PHPCS during Travis CI checks + disable xdebug X-Git-Tag: v0.12.1^2~1^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=5c856a69231eb1505df2ae1bf67199fd83f05a5e;p=github%2Fshaarli%2FShaarli.git Run PHPCS during Travis CI checks + disable xdebug --- diff --git a/.travis.yml b/.travis.yml index d7460947..422bf835 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,6 +49,10 @@ cache: directories: - $HOME/.composer/cache +before_install: + # Disable xdebug: it significantly speed up tests and linter, and we don't use coverage yet + - phpenv config-rm xdebug.ini || echo 'No xdebug config.' + install: # install/update composer and php dependencies - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION @@ -60,4 +64,5 @@ before_script: script: - make clean - make check_permissions + - make code_sniffer - make all_tests