Run PHPCS during Travis CI checks + disable xdebug
This commit is contained in:
parent
b99e00f7cd
commit
5c856a6923
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,10 @@ cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.composer/cache
|
- $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:
|
||||||
# install/update composer and php dependencies
|
# install/update composer and php dependencies
|
||||||
- composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION
|
- composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION
|
||||||
|
@ -60,4 +64,5 @@ before_script:
|
||||||
script:
|
script:
|
||||||
- make clean
|
- make clean
|
||||||
- make check_permissions
|
- make check_permissions
|
||||||
|
- make code_sniffer
|
||||||
- make all_tests
|
- make all_tests
|
||||||
|
|
Loading…
Reference in a new issue