From 521b475f3b1bbbc1a8fd25a4118a171689e4f4a7 Mon Sep 17 00:00:00 2001 From: "David A. Kennedy" Date: Fri, 9 Jun 2017 12:03:55 -0400 Subject: [PATCH] Switch versions of PHP Code Sniffer for build process * Switches to 2.9 branch to avoid failed builds for now. See: https://github.com/Automattic/_s/issues/1067#issuecomment-307258832 See #1079 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c691392..91b7ffc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ before_script: - export PHPCS_DIR=/tmp/phpcs - export SNIFFS_DIR=/tmp/sniffs # Install CodeSniffer for WordPress Coding Standards checks. - - if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/squizlabs/PHP_CodeSniffer.git $PHPCS_DIR; fi + - if [[ "$SNIFF" == "1" ]]; then git clone -b 2.9 --depth 1 https://github.com/squizlabs/PHP_CodeSniffer.git $PHPCS_DIR; fi # Install WordPress Coding Standards. - if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git $SNIFFS_DIR; fi # Install PHP Compatibility sniffs.