2018-11-20 23:02:06 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-11-29 12:08:10 +01:00
|
|
|
set -e
|
|
|
|
|
2018-11-29 00:37:36 +01:00
|
|
|
source src/dev/ci_setup/checkout_sibling_es.sh
|
2018-11-20 23:02:06 +01:00
|
|
|
|
|
|
|
"$(FORCE_COLOR=0 yarn bin)/grunt" functionalTests:ensureAllTestsInCiGroup;
|
|
|
|
|
|
|
|
node scripts/build --debug --oss;
|
|
|
|
|
|
|
|
export TEST_BROWSER_HEADLESS=1
|
|
|
|
export TEST_ES_FROM=${TEST_ES_FROM:-source}
|
|
|
|
|
|
|
|
"$(FORCE_COLOR=0 yarn bin)/grunt" "run:functionalTests_ciGroup${CI_GROUP}" --from=source;
|
|
|
|
|
|
|
|
if [ "$CI_GROUP" == "1" ]; then
|
|
|
|
"$(FORCE_COLOR=0 yarn bin)/grunt" run:pluginFunctionalTestsRelease --from=source;
|
|
|
|
fi
|