Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117752542
run.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
836 B
Referenced Files
None
Subscribers
None
run.sh
View Options
#!/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
Details
Attached
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)
Attached To
Mode
R113 roundcubemail
Attached
Detach File
Event Timeline