Skip to content

Commit a90ddb6

Browse files
committed
Merge branch 'master' into use-behat-db-consts-in-prepare-tests-script
2 parents 45c4569 + 7b9e5b7 commit a90ddb6

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.travis.yml

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

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

107
notifications:
118
email:
@@ -26,7 +23,7 @@ env:
2623
- WP_CLI_BIN_DIR="$TRAVIS_BUILD_DIR/vendor/bin"
2724

2825
before_install:
29-
- export XMLLINT_INDENT=" "
26+
- export XMLLINT_INDENT=" "
3027
- |
3128
# Remove Xdebug for a huge performance increase:
3229
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
@@ -54,20 +51,12 @@ jobs:
5451
apt:
5552
packages:
5653
- libxml2-utils
57-
install:
58-
- composer install
5954
script:
6055
- composer lint
6156
- xmllint --noout --schema ./vendor/squizlabs/php_codesniffer/phpcs.xsd ./*/ruleset.xml
6257
- composer phpcs
6358
- diff -B --tabsize=4 ./WP_CLI_CS/ruleset.xml <(xmllint --format "./WP_CLI_CS/ruleset.xml")
6459
env: BUILD=sniff
65-
- stage: test
66-
php: 7.4
67-
env: WP_VERSION=latest
68-
- stage: test
69-
php: 7.3
70-
env: WP_VERSION=latest
7160
- stage: test
7261
php: 7.2
7362
env: WP_VERSION=latest
@@ -83,7 +72,10 @@ jobs:
8372
- stage: test
8473
php: 5.6
8574
env: WP_VERSION=3.7.11
86-
dist: trusty
8775
- stage: test
8876
php: 5.6
8977
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)