diff --git a/.travis.yml b/.travis.yml index 652bd28..e30b445 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,6 @@ before_script: - npm install -g jshint script: - - if [ -e phpunit.xml ]; then phpunit; fi + - if [ -e phpunit.xml ] || [ -e phpunit.xml.dist ]; then phpunit; fi - phpcs --standard=$(if [ -e ruleset.xml ]; then echo ruleset.xml; else echo WordPress; fi) $(find . -name '*.php') - jshint .