From 9e2890bb0038bf555aa70b549818626594bb29ae Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Tue, 15 Apr 2014 11:14:42 +0100
Subject: [PATCH] travis: On fail, cd to tests directory before diffing.

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 720b65b0f..4c2a577ac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,4 +16,4 @@ script:
   - make -C stmhal
   - 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
+after_failure: cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done
-- 
GitLab