2019-03-13 19:21:17 +00:00
|
|
|
language: php
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- |
|
|
|
|
# Remove Xdebug for a huge performance increase:
|
|
|
|
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
|
|
|
|
phpenv config-rm xdebug.ini
|
|
|
|
else
|
|
|
|
echo "xdebug.ini does not exist"
|
|
|
|
fi
|
2019-03-13 19:42:52 +00:00
|
|
|
- composer install
|
2019-03-13 19:21:17 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- ./vendor/bin/phpcs -s -n -p *
|
2019-03-13 19:32:20 +00:00
|
|
|
|
|
|
|
# Specifies that Travis should create branch builds only for master.
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|