Skip to:
Content

BuddyPress.org

Ticket #6258: 6258.2.diff

File 6258.2.diff, 901 bytes (added by netweb, 9 years ago)
  • .travis.yml

     
    1717# x.y mirrors the latest from the x.y branch
    1818env:
    1919    - WP_VERSION=master
     20    - WP_VERSION=4.2
    2021    - WP_VERSION=4.1
    2122    - WP_VERSION=4.0
    2223    - WP_VERSION=3.9
     
    4748    - sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php
    4849    - sed -i "s/yourusernamehere/root/" wp-tests-config.php
    4950    - sed -i "s/yourpasswordhere//" wp-tests-config.php
    50     # disable WP_DEBUG for PHP >= 5.5 due to ext/mysqli E_DEPRECATED errors
    51     - 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;
    5251    # set up database
    5352    - mysql -e 'CREATE DATABASE wordpress_test;' -uroot
    5453    # prepare for running the tests