From ac1ea072a21bca98c04a750aa8e3a41e6abb0ca6 Mon Sep 17 00:00:00 2001 From: Antoine Legrand <2t.antoine@gmail.com> Date: Mon, 1 Aug 2016 05:07:27 -0700 Subject: [PATCH] Add display failure --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6c26cd110..3302668c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -132,6 +132,9 @@ script: ## Ping the between 2 pod - $HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/030_check-network.yml $LOG_LEVEL +after_failure: + - for a in `find /var/log/containers -iname "*.log"`;do echo "-- $a\n\n`cat $a`\n" ;done + after_script: - > $HOME/.local/bin/ansible-playbook -i inventory/inventory.ini tests/cloud_playbooks/delete-gce.yml -c local $LOG_LEVEL