From da3555cbb141ef9c00ea126460eac9d03368f586 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 7 Oct 2013 09:21:13 -0400 Subject: [PATCH] Also check for presence of phpunit.xml.dist --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .