diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-09 10:56:02 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-09 10:56:49 +0100 |
commit | 5c856a69231eb1505df2ae1bf67199fd83f05a5e (patch) | |
tree | 2b9132b9669aaa4e18023cb8b13b6a0a018e7184 | |
parent | b99e00f7cd5f7e2090f44cd97bfb426db55340c2 (diff) | |
download | Shaarli-5c856a69231eb1505df2ae1bf67199fd83f05a5e.tar.gz Shaarli-5c856a69231eb1505df2ae1bf67199fd83f05a5e.tar.zst Shaarli-5c856a69231eb1505df2ae1bf67199fd83f05a5e.zip |
Run PHPCS during Travis CI checks + disable xdebug
-rw-r--r-- | .travis.yml | 5 |
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 | ||
52 | before_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 | |||
52 | install: | 56 | install: |
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: | |||
60 | script: | 64 | script: |
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 |