woocommerce/plugins/woocommerce-beta-tester/.travis.yml

19 lines
406 B
YAML
Raw Normal View History

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