Skip to content

Commit 99f9f31

Browse files
committed
Travis: don't allow PHP 7.4 build to fail
As [PHP 7.4 has been released](https://www.php.net/archive/2019.php#2019-11-28-1), the build against PHP 7.4 should no longer be allowed to fail. Includes fixing the `language` setting. This can't be an array and thrown warnings as it was when the Travis script is validated.
1 parent d45f5e5 commit 99f9f31

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ cache:
88
# Cache directory for more recent Composer versions.
99
- $HOME/.cache/composer/files
1010

11-
language:
12-
- php
11+
language: php
1312

1413
php:
1514
- 5.4
@@ -112,10 +111,6 @@ jobs:
112111
- php: 5.4
113112
env: PHPCS_BRANCH="3.3.1"
114113

115-
allow_failures:
116-
# Allow failures for unstable builds.
117-
- php: "7.4snapshot"
118-
119114
before_install:
120115
# Speed up build time by disabling Xdebug.
121116
# https://johnblackbourn.com/reducing-travis-ci-build-times-for-wordpress-projects/

0 commit comments

Comments
 (0)