Skip to:
Content

BuddyPress.org

Changeset 9238


Ignore:
Timestamp:
12/18/2014 10:42:19 PM (7 years ago)
Author:
djpaul
Message:

Travis: attempting to fix a test failure for WP 3.7 + PHP 5.6.

We had a similar fix in for PHP, this change makes that comparision a little more general so we don't run into this problem in the future.

See r9237 and https://travis-ci.org/buddypress/BuddyPress/jobs/44511661

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r9237 r9238  
    3838    - sed -i "s/yourusernamehere/root/" wp-tests-config.php
    3939    - sed -i "s/yourpasswordhere//" wp-tests-config.php
    40     # disable WP_DEBUG for PHP 5.5 due to ext/mysqli E_DEPRECATED errors
    41     - if [[ "$TRAVIS_PHP_VERSION" == 5.5* ]] && [[ "$WP_VERSION" == "3.7" ]] ; then sed -i "s:define( 'WP_DEBUG://define( 'WP_DEBUG:" wp-tests-config.php; fi;
     40    # disable WP_DEBUG for PHP >= 5.5 due to ext/mysqli E_DEPRECATED errors
     41    - if [[ "$TRAVIS_PHP_VERSION" > 5.4* ]] && [[ "$WP_VERSION" == "3.7" ]] ; then sed -i "s:define( 'WP_DEBUG://define( 'WP_DEBUG:" wp-tests-config.php; fi;
    4242    # set up database
    4343    - mysql -e 'CREATE DATABASE wordpress_test;' -uroot
Note: See TracChangeset for help on using the changeset viewer.