Move grunt call to run-e2e-ci.sh
This commit is contained in:
parent
b1514ca9a0
commit
7ab046bee4
|
@ -61,7 +61,6 @@ before_script:
|
|||
bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
|
||||
composer global require "phpunit/phpunit=4.8.*|6.5.*"
|
||||
fi
|
||||
- grunt
|
||||
|
||||
script:
|
||||
- bash tests/bin/phpunit.sh
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
if [[ ${RUN_E2E} == 1 ]]; then
|
||||
|
||||
# Lets build using grunt
|
||||
grunt
|
||||
|
||||
WP_SITE_URL="http://localhost:8080"
|
||||
|
||||
# Start xvfb to run the tests
|
||||
|
|
Loading…
Reference in New Issue