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