From 9b5a9d41dc061b51ebc1dd969df3ce9b5f7bde91 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Tue, 15 Apr 2014 02:29:59 +0100 Subject: [PATCH] Update .travis.yml Add diffing of failure logs --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0595d24383..330ca3c64d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,6 @@ before_script: script: - make -C unix - cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests + +after_failure: + - for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE: $testbase"; diff $testbase.exp $testbase.out; done