diff --git a/.travis.yml b/.travis.yml index be02849..97365b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,4 +65,4 @@ script: # Search for PHP syntax errors. - find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l # Run WordPress Coding Standards checking - - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php; fi + - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*; fi