aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-11-09 10:56:02 +0100
committerArthurHoaro <arthur@hoa.ro>2020-11-09 10:56:49 +0100
commit5c856a69231eb1505df2ae1bf67199fd83f05a5e (patch)
tree2b9132b9669aaa4e18023cb8b13b6a0a018e7184
parentb99e00f7cd5f7e2090f44cd97bfb426db55340c2 (diff)
downloadShaarli-5c856a69231eb1505df2ae1bf67199fd83f05a5e.tar.gz
Shaarli-5c856a69231eb1505df2ae1bf67199fd83f05a5e.tar.zst
Shaarli-5c856a69231eb1505df2ae1bf67199fd83f05a5e.zip
Run PHPCS during Travis CI checks + disable xdebug
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index d7460947..422bf835 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,6 +49,10 @@ cache:
49 directories: 49 directories:
50 - $HOME/.composer/cache 50 - $HOME/.composer/cache
51 51
52before_install:
53 # Disable xdebug: it significantly speed up tests and linter, and we don't use coverage yet
54 - phpenv config-rm xdebug.ini || echo 'No xdebug config.'
55
52install: 56install:
53 # install/update composer and php dependencies 57 # install/update composer and php dependencies
54 - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION 58 - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION
@@ -60,4 +64,5 @@ before_script:
60script: 64script:
61 - make clean 65 - make clean
62 - make check_permissions 66 - make check_permissions
67 - make code_sniffer
63 - make all_tests 68 - make all_tests