Dump logs on failure.
This commit is contained in:
parent
222d82b3c3
commit
bc98d284c7
@ -24,9 +24,13 @@ before_script:
|
|||||||
|
|
||||||
script: php tests/test_install.php -d $DB
|
script: php tests/test_install.php -d $DB
|
||||||
|
|
||||||
|
# If a failure occured then dump out a bunch of logs for debugging purposes.
|
||||||
after_failure:
|
after_failure:
|
||||||
- sudo cat /etc/nginx/sites-enabled/default
|
- sudo cat /etc/nginx/sites-enabled/default
|
||||||
- sudo cat /var/log/nginx/error.log
|
- sudo cat /var/log/nginx/error.log
|
||||||
|
- sudo cat /var/log/php_errors.log
|
||||||
|
- ls /var/log
|
||||||
|
- sudo php -i
|
||||||
|
|
||||||
# configure notifications (email, IRC, campfire etc)
|
# configure notifications (email, IRC, campfire etc)
|
||||||
#notifications:
|
#notifications:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user