Add Travis configuration file to the repository

For now, using it only to run PHPCS.
This commit is contained in:
Rodrigo Primo 2019-03-13 16:21:17 -03:00
parent f6aef3e3f8
commit ca10240397
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
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 *