mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Merge pull request #6569 from pamil/a-bulwa-travis-is
[Travis] Temporary fix: partition Behat with JS
This commit is contained in:
commit
85c8214309
1 changed files with 8 additions and 4 deletions
|
|
@ -29,10 +29,14 @@ run_behat() {
|
|||
local code=0
|
||||
|
||||
print_header "Testing (Behat - brand new, javascript scenarios; @javascript && ~@todo && ~@cli)" "Sylius"
|
||||
run_command "bin/behat --strict --no-interaction -vvv -f progress -p cached --tags=\"@javascript && ~@todo && ~@cli\"" || code=$?
|
||||
if [[ ${code} = 1 ]]; then
|
||||
run_command "bin/behat --strict --no-interaction -vvv -f progress -p cached --tags=\"@javascript && ~@todo && ~@cli\" --rerun" ; code=$?
|
||||
fi
|
||||
|
||||
for path in features/*
|
||||
do
|
||||
run_command "bin/behat $path --no-interaction -vvv -f progress -p cached --tags=\"@javascript && ~@todo && ~@cli\"" || code=$?
|
||||
if [[ ${code} = 1 ]]; then
|
||||
run_command "bin/behat $path --no-interaction -vvv -f progress -p cached --tags=\"@javascript && ~@todo && ~@cli\" --rerun" ; code=$?
|
||||
fi
|
||||
done
|
||||
|
||||
return ${code}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue