File tree Expand file tree Collapse file tree 1 file changed +13
-19
lines changed
Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change 1- sudo : false
2- dist : trusty
1+ os : linux
2+ dist : xenial
33
44language : php
5- php : 7.2
5+ php : 7.4
6+
7+ services :
8+ - mysql
69
710notifications :
811 email :
2326 - WP_CLI_BIN_DIR="$TRAVIS_BUILD_DIR/vendor/bin"
2427
2528before_install :
26- - export XMLLINT_INDENT=" "
2729 - |
2830 # Remove Xdebug for a huge performance increase:
2931 if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
@@ -46,17 +48,12 @@ script:
4648
4749jobs :
4850 include :
49- - stage : sniff
50- addons :
51- apt :
52- packages :
53- - libxml2-utils
54- script :
55- - composer lint
56- - xmllint --noout --schema ./vendor/squizlabs/php_codesniffer/phpcs.xsd ./*/ruleset.xml
57- - composer phpcs
58- - diff -B --tabsize=4 ./WP_CLI_CS/ruleset.xml <(xmllint --format "./WP_CLI_CS/ruleset.xml")
59- env : BUILD=sniff
51+ - stage : test
52+ php : 7.4
53+ env : WP_VERSION=latest
54+ - stage : test
55+ php : 7.3
56+ env : WP_VERSION=latest
6057 - stage : test
6158 php : 7.2
6259 env : WP_VERSION=latest
7269 - stage : test
7370 php : 5.6
7471 env : WP_VERSION=3.7.11
72+ dist : trusty
7573 - stage : test
7674 php : 5.6
7775 env : WP_VERSION=trunk
78- - stage : test
79- php : 5.4
80- dist : precise
81- env : WP_VERSION=5.1
You can’t perform that action at this time.
0 commit comments