#!/usr/bin/env bash

source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"

code=0
commands=(
    validate-composer
    validate-behat-features
    validate-doctrine-schema
    test-behat-with-javascript
)

#    test-phpspec
#    test-phpunit
#    test-fixtures
#    test-behat-without-javascript
#
#    test-behat-with-cli

for command in ${commands[@]}; do
    "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/script/${command}" || code=$?
done

exit ${code}

#!/usr/bin/env bash

source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"

code=0
commands=(
    validate-composer
    validate-behat-features
    validate-doctrine-schema
    test-phpspec
    test-phpunit
    test-fixtures
    test-behat-without-javascript
    test-behat-with-javascript
    test-behat-with-cli
)

for command in ${commands[@]}; do
    "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/script/${command}" || code=$?
done

exit ${code}

Revert "try headless chrome instead of selenium2"
Revert "try headless chrome instead of selenium2"

This reverts commit 0db84229feff6d3d76e69abf7b53d3760d96c14e.
