Ticket #6258: 6258.1.diff
File 6258.1.diff, 718 bytes (added by , 9 years ago) |
---|
-
.travis.yml
47 47 - sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php 48 48 - sed -i "s/yourusernamehere/root/" wp-tests-config.php 49 49 - sed -i "s/yourpasswordhere//" wp-tests-config.php 50 # disable WP_DEBUG for PHP >= 5.5 due to ext/mysqli E_DEPRECATED errors51 - 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;52 50 # set up database 53 51 - mysql -e 'CREATE DATABASE wordpress_test;' -uroot 54 52 # prepare for running the tests