Page MenuHomePhorge

run.sh
No OneTemporary

Authored By
Unknown
Size
836 B
Referenced Files
None
Subscribers
None
#!/bin/bash
# The script is intended for use on Travis with Trusty distribution
# It executes unit and functional tests
DIR=$(dirname $0)
cd $DIR/..
if [ "$CODE_COVERAGE" = 1 ]
then
CODE_COVERAGE_ARGS="--coverage-text"
fi
vendor/bin/phpunit -c tests/phpunit.xml $CODE_COVERAGE_ARGS
if [ $? != 0 ]
then
cat logs/errors.log
exit 1
fi
if [ "$BROWSER_TESTS" = 1 ]
then
.ci/setup.sh \
&& echo "TESTS_MODE: DESKTOP" \
&& TESTS_MODE=desktop vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsontravis \
&& echo "TESTS_MODE: PHONE" \
&& TESTS_MODE=phone vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsontravis-phone \
&& echo "TESTS_MODE: TABLET" \
&& TESTS_MODE=tablet vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsontravis-tablet
fi

File Metadata

Mime Type
text/x-shellscript
Expires
Sat, Apr 4, 4:19 AM (1 d, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18755574
Default Alt Text
run.sh (836 B)

Event Timeline