diff --git .travis.yml .travis.yml
index ec458a3691..49d2d67274 100644
|
|
|
before_install:
|
| 41 | 41 | sed -i "s/youremptytestdbnamehere/wordpress_tests/" wp-tests-config.php |
| 42 | 42 | sed -i "s/yourusernamehere/root/" wp-tests-config.php |
| 43 | 43 | sed -i "s/yourpasswordhere//" wp-tests-config.php |
| 44 | | svn checkout https://plugins.svn.wordpress.org/wordpress-importer/tags/0.6.3/ tests/phpunit/data/plugins/wordpress-importer |
| | 44 | travis_retry svn checkout https://plugins.svn.wordpress.org/wordpress-importer/tags/0.6.3/ tests/phpunit/data/plugins/wordpress-importer |
| 45 | 45 | fi |
| 46 | 46 | - | |
| 47 | 47 | if [[ "$WP_TRAVIS_OBJECT_CACHE" == "true" ]]; then |
| … |
… |
before_script:
|
| 68 | 68 | case "$TRAVIS_PHP_VERSION" in |
| 69 | 69 | 7.2|7.1|7.0|nightly) |
| 70 | 70 | echo "Using PHPUnit 6.x" |
| 71 | | composer global require "phpunit/phpunit:^6" |
| | 71 | travis_retry composer global require "phpunit/phpunit:^6" |
| 72 | 72 | ;; |
| 73 | 73 | 5.6|5.5|5.4|5.3) |
| 74 | 74 | echo "Using PHPUnit 4.x" |
| 75 | | composer global require "phpunit/phpunit:^4" |
| | 75 | travis_retry composer global require "phpunit/phpunit:^4" |
| 76 | 76 | ;; |
| 77 | 77 | 5.2) |
| 78 | 78 | # Do nothing, use default PHPUnit 3.6.x |
| … |
… |
before_script:
|
| 88 | 88 | # We only need to run composer install on the code formatting job. |
| 89 | 89 | if [[ "$WP_TRAVISCI" == "travis:format" ]]; then |
| 90 | 90 | composer --version |
| 91 | | composer install |
| | 91 | travis_retry composer install |
| 92 | 92 | fi |
| 93 | 93 | - npm --version |
| 94 | 94 | - node --version |