Skip to content

Commit f109fd3

Browse files
committed
Update Travis CI config to enforce PHP 7.4 compat
1 parent d66c92b commit f109fd3

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.travis.yml

Lines changed: 13 additions & 7 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:
@@ -57,6 +60,12 @@ jobs:
5760
- composer phpcs
5861
- diff -B --tabsize=4 ./WP_CLI_CS/ruleset.xml <(xmllint --format "./WP_CLI_CS/ruleset.xml")
5962
env: BUILD=sniff
63+
- stage: test
64+
php: 7.4
65+
env: WP_VERSION=latest
66+
- stage: test
67+
php: 7.3
68+
env: WP_VERSION=latest
6069
- stage: test
6170
php: 7.2
6271
env: WP_VERSION=latest
@@ -72,10 +81,7 @@ jobs:
7281
- stage: test
7382
php: 5.6
7483
env: WP_VERSION=3.7.11
84+
dist: trusty
7585
- stage: test
7686
php: 5.6
7787
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)