File tree Expand file tree Collapse file tree 1 file changed +22
-24
lines changed Expand file tree Collapse file tree 1 file changed +22
-24
lines changed Original file line number Diff line number Diff line change 1+ language : php
2+ os : linux
13dist : xenial
24
3- cache :
4- directories :
5- - $HOME/.cache/composer/files
6-
7- language :
8- - php
9-
10- before_install :
11- # Speed up build time by disabling Xdebug.
12- # https://johnblackbourn.com/reducing-travis-ci-build-times-for-wordpress-projects/
13- # https://twitter.com/kelunik/status/954242454676475904
14- - phpenv config-rm xdebug.ini || echo 'No xdebug config.'
15-
16- install :
17- - composer require squizlabs/php_codesniffer:"$PHPCS_BRANCH" --update-no-dev --no-suggest --no-scripts
18- - composer install --dev --no-suggest
19-
20- script :
21- # Run the unit tests.
22- - ./bin/unit-tests
23-
24- # Run ruleset tests.
25- - ./bin/ruleset-tests
26-
275env :
286 # `master` is now 3.x.
297 - PHPCS_BRANCH="dev-master"
308 # Lowest supported release in the 3.x series with which VIPCS is compatible.
319 - PHPCS_BRANCH="3.3.1"
3210
11+ cache :
12+ directories :
13+ - $HOME/.cache/composer/files
14+
3315php :
3416 - 5.6
3517 - 7.0
8567 - ./bin/phpcs
8668
8769
70+ before_install :
71+ # Speed up build time by disabling Xdebug.
72+ # https://johnblackbourn.com/reducing-travis-ci-build-times-for-wordpress-projects/
73+ # https://twitter.com/kelunik/status/954242454676475904
74+ - phpenv config-rm xdebug.ini || echo 'No xdebug config.'
75+
76+ install :
77+ - composer require squizlabs/php_codesniffer:"$PHPCS_BRANCH" --update-no-dev --no-suggest --no-scripts
78+ - composer install --dev --no-suggest
79+
80+ script :
81+ # Run the unit tests.
82+ - ./bin/unit-tests
83+
84+ # Run ruleset tests.
85+ - ./bin/ruleset-tests
You can’t perform that action at this time.
0 commit comments