From 74c47ba06d9aea51ae309ea29b8febfb2438cfce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 7 Jun 2017 19:41:49 +0200 Subject: [PATCH] Install CodeSniffer using composer --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6a1271c..7aef778 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,8 @@ php: - 5.6 - 5.3 before_install: - - pyrus install pear/PHP_CodeSniffer-2.9.0 + - export PATH="$PATH:$(composer global config bin-dir --absolute)" + - composer global require "squizlabs/php_codesniffer=2.*" - phpenv rehash before_script: - git clone --branch=2.1 --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF -- 2.20.1