Skip to:
Content

BuddyPress.org

Ticket #6258: 6258.1.diff

File 6258.1.diff, 718 bytes (added by netweb, 6 years ago)
  • .travis.yml

     
    4747    - sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php
    4848    - sed -i "s/yourusernamehere/root/" wp-tests-config.php
    4949    - 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;
    5250    # set up database
    5351    - mysql -e 'CREATE DATABASE wordpress_test;' -uroot
    5452    # prepare for running the tests