mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-26 04:36:03 +03:00
17 lines
399 B
Bash
17 lines
399 B
Bash
|
#/usr/bin/env/sh
|
||
|
set -e
|
||
|
|
||
|
if [ ! -n "$TRAVIS" ]; then
|
||
|
./vendor/tedivm/dovecottesting/SetupEnvironment.sh
|
||
|
sleep 5
|
||
|
fi
|
||
|
|
||
|
echo 'Running unit tests.'
|
||
|
phpunit --verbose --coverage-clover build/logs/clover.xml
|
||
|
|
||
|
echo ''
|
||
|
echo ''
|
||
|
echo ''
|
||
|
echo 'Testing for Coding Styling Compliance.'
|
||
|
echo 'All code should follow PSR standards.'
|
||
|
./vendor/fabpot/php-cs-fixer/php-cs-fixer fix ./ --level="all" -vv --dry-run
|