.travis.yml: use phpcs 2.x to keep 5.3 supported

This commit is contained in:
Thomas Gelf 2017-06-01 12:07:43 +02:00
parent 5dfe4782ea
commit 75a0da12fe

View file

@ -9,7 +9,9 @@ php:
- nightly
before_script:
- curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
# TODO: Re-enable after dropping 5.3 support:
# - curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
- curl -OL https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.1/phpcs.phar
- wget https://github.com/Icinga/icingaweb2/archive/v2.4.0.tar.gz
- tar xfz v2.4.0.tar.gz
- ln -s icingaweb2-2.4.0/library/Icinga