woocommerce/plugins/woo-ai/.travis.yml

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