Ticket #6258: 6258.2.diff
File 6258.2.diff, 901 bytes (added by , 9 years ago) |
---|
-
.travis.yml
17 17 # x.y mirrors the latest from the x.y branch 18 18 env: 19 19 - WP_VERSION=master 20 - WP_VERSION=4.2 20 21 - WP_VERSION=4.1 21 22 - WP_VERSION=4.0 22 23 - WP_VERSION=3.9 … … 47 48 - sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php 48 49 - sed -i "s/yourusernamehere/root/" wp-tests-config.php 49 50 - 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 51 # set up database 53 52 - mysql -e 'CREATE DATABASE wordpress_test;' -uroot 54 53 # prepare for running the tests