Skip to:
Content

BuddyPress.org

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#7464 closed defect (bug) (fixed)

Get Travis tests working again on PHP 7

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

Description

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
2 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
2 years ago

In 11509:

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

See #7464.

#3 @netweb
2 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.