Move composer install
This commit is contained in:
parent
561e44432a
commit
129ea30305
|
@ -19,6 +19,5 @@ before_script:
|
|||
- bash unit-tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
|
||||
|
||||
script:
|
||||
- composer install
|
||||
- bash unit-tests/bin/phpunit.sh
|
||||
- bash unit-tests/bin/phpcs.sh
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
WORKING_DIR="$PWD"
|
||||
cd "$WP_CORE_DIR/wp-content/plugins/woocommerce-rest-api"
|
||||
composer install
|
||||
./vendor/bin/phpunit --version
|
||||
./vendor/bin/phpunit -c phpunit.xml
|
||||
TEST_RESULT=$?
|
||||
|
|
Loading…
Reference in New Issue