Add Travis configuration file to the repository
For now, using it only to run PHPCS.
This commit is contained in:
parent
f6aef3e3f8
commit
ca10240397
|
@ -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 *
|
Loading…
Reference in New Issue