mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Restore error on phpunit error
This commit is contained in:
parent
28818fc65b
commit
f5980f2345
|
|
@ -57,7 +57,7 @@ addons:
|
|||
env:
|
||||
global:
|
||||
# Set to true for very verbose output
|
||||
- DEBUG=true
|
||||
- DEBUG=false
|
||||
|
||||
jobs:
|
||||
fast_finish: true
|
||||
|
|
@ -474,7 +474,7 @@ script:
|
|||
- |
|
||||
echo "Unit testing"
|
||||
# Ensure we catch errors. Set this to +e instead of -e if you want to go to the end to see dolibarr.log file.
|
||||
set +e
|
||||
set -e
|
||||
phpunit -d memory_limit=-1 -c test/phpunit/phpunittest.xml test/phpunit/AllTests.php
|
||||
phpunitresult=$?
|
||||
echo "Phpunit return code = $phpunitresult"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user