travis: Move diffing back to after_failure command.

Need to click on icon at right to see the output.
pull/496/head
Damien George 2014-04-15 12:52:59 +01:00
rodzic b013aea809
commit 203bc98804
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -14,4 +14,7 @@ script:
- make -C unix-cpy CC=gcc-4.7
- make -C bare-arm
- make -C stmhal
- (cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests || for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done && exit 1)
- (cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests)
after_failure:
- (cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done)