]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Run PHPCS during Travis CI checks + disable xdebug
authorArthurHoaro <arthur@hoa.ro>
Mon, 9 Nov 2020 09:56:02 +0000 (10:56 +0100)
committerArthurHoaro <arthur@hoa.ro>
Mon, 9 Nov 2020 09:56:49 +0000 (10:56 +0100)
.travis.yml

index d7460947383a0e595f472908da81ffcec78ef040..422bf835954aab2158f36bb1d8bf03b8b5ca435a 100644 (file)
@@ -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