20 lines
427 B
YAML
20 lines
427 B
YAML
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
|
|
- composer install
|
|
|
|
script:
|
|
- ./vendor/bin/phpcs -s -n -p *
|
|
|
|
# Specifies that Travis should create branch builds only for master.
|
|
branches:
|
|
only:
|
|
- master
|