OSDN Git Service

behat: show downloaded core version
authorscribu <mail@scribu.net>
Sun, 27 Oct 2013 21:58:59 +0000 (23:58 +0200)
committerscribu <mail@scribu.net>
Sun, 27 Oct 2013 22:36:25 +0000 (00:36 +0200)
particularly useful when WP_VERSION=latest

ci/prepare.sh

index 2a5b0e8..5627017 100755 (executable)
@@ -19,6 +19,7 @@ curl http://behat.org/downloads/behat.phar > behat.phar
 ./ci/prepare-codesniffer.sh
 
 ./bin/wp core download --version=$WP_VERSION --path='/tmp/wp-cli-test core-download-cache/'
+./bin/wp core version --path='/tmp/wp-cli-test core-download-cache/'
 
 mysql -e 'CREATE DATABASE wp_cli_test;' -uroot
 mysql -e 'GRANT ALL PRIVILEGES ON wp_cli_test.* TO "wp_cli_test"@"localhost" IDENTIFIED BY "password1"' -uroot