Skip to content

Commit dc0113a

Browse files
committed
Update file(s) from wp-cli/.github
1 parent f1918a9 commit dc0113a

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

.travis.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
sudo: false
2-
dist: trusty
1+
os: linux
2+
dist: xenial
33

44
language: php
5-
php: 7.2
5+
php: 7.4
6+
7+
services:
8+
- mysql
69

710
notifications:
811
email:
@@ -23,7 +26,6 @@ env:
2326
- WP_CLI_BIN_DIR="$TRAVIS_BUILD_DIR/vendor/bin"
2427

2528
before_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

4749
jobs:
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
@@ -72,10 +69,7 @@ jobs:
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

0 commit comments

Comments
 (0)