Skip to:

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7464 closed defect (bug) (fixed)

Get Travis tests working again on PHP 7

Reported by: netweb's profile netweb Owned by: netweb's profile netweb
Milestone: 2.9 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:


Via #WP40086

Travis updated to PHPUnit 6 on its PHP 7 builds today. This is causing the tests on PHP 7 to fatal because core's tests are not compatible with PHPUnit 6. See #39822.

As an interim fix, PHPUnit 5.7 should be explicitly used for the PHP 7 builds.

Related: #7463

Change History (3)

#1 @netweb
7 years ago

  • Owner set to netweb
  • Resolution set to fixed
  • Status changed from new to closed

In 11508:

Build/Test Tools: Update .travis.yml to explicitly use PHPUnit 5.7 for the PHP 7 builds on Travis.

  • Add some more debugging to Travis.

Fixes #7464.

#2 @netweb
7 years ago

In 11509:

Build/Test Tools: Fix YAML indentation in .travis.yml following yolo'd [11508].

See #7464.

#3 @netweb
7 years ago

In 11511:

Build tools: Don't attempt to report PHP's extensions when running HHVM jobs on Travis. It doesn't work.

Props johnbillion.
See #7464.

Note: See TracTickets for help on using tickets.