From b03ee09ef7c14136c0e512fa651692b45d1cd32b Mon Sep 17 00:00:00 2001 From: vnmedeiros Date: Wed, 26 May 2021 09:53:30 -0300 Subject: [PATCH] fix: travis shell command wrong --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 118700862..b08104189 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ install: - sudo mv ./tests/bootstrap-config-sample.php ./tests/bootstrap-config.php - sudo ./tests/bin/install-wp-tests.sh test travis "" /tmp/wordpress localhost latest true -- if [[ $TRAVIS_PHP_VERSION = 7.1 || $TRAVIS_PHP_VERSION = 5.6 ]]; then composer install --ignore-platform-reqs; else composer install fi +- if [[ $TRAVIS_PHP_VERSION = 7.1 || $TRAVIS_PHP_VERSION = 5.6 ]]; then composer install --ignore-platform-reqs; else composer install; fi - sudo mkdir /tmp/wordpress/wordpress-test/wp-content/uploads - sudo chmod -R 777 /tmp/wordpress/wordpress-test/wp-content/uploads - sudo wget https://phar.phpunit.de/phpunit-6.5.7.phar -P /tmp