Move grunt call to run-e2e-ci.sh

This commit is contained in:
Gerhard 2019-07-12 16:14:11 +02:00
parent b1514ca9a0
commit 7ab046bee4
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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