Make WordPress Core


Ignore:
Timestamp:
03/08/2017 12:50:43 AM (10 years ago)
Author:
johnbillion
Message:

Build/Test tools: In Travis, skip some tests when not on trunk.

This skips time sensitive tests (copyright year and PHP/MySQL version requirements) when tests are run on branches on Travis.

Props netweb, jorbin

Fixes #39486

Merges [40241] to the 4.6 branch.

Location:
branches/4.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.6

  • branches/4.6/tests/phpunit/tests/external-http/basic.php

    r35172 r40249  
    66
    77        function test_readme() {
     8                // This test is designed to only run on trunk/master
     9                $this->skipOnAutomatedBranches();
     10
    811                $readme = file_get_contents( ABSPATH . 'readme.html' );
    912                preg_match( '#<br /> Version (.*)#', $readme, $matches );
Note: See TracChangeset for help on using the changeset viewer.