From 0388b2ea7886d1d2db2c921c67f6169f323e4f69 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Tue, 15 Apr 2014 00:52:15 +0100 Subject: [PATCH 1/4] Update .travis.yml This *might* fix it enough for all tests to run (maybe?) --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2add19027..631204f5a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,10 @@ compiler: - gcc before_script: - - sudo apt-get install python3 + - sudo add-apt-repository -y ppa:fkrull/deadsnakes + - sudo apt-get update -qq + - sudo apt-get install -y python3.3 script: - make -C unix - - cd tests && ./run-tests basics/[a-eistuw]*.py + - cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests From e31a8222f2b8844c01e2224140aa6d41ab5dcf29 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Tue, 15 Apr 2014 02:14:53 +0100 Subject: [PATCH 2/4] Update .travis.yml Doh, the shebang line for run-tests itself relies on `python3` --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 631204f5a3..0595d24383 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ compiler: before_script: - sudo add-apt-repository -y ppa:fkrull/deadsnakes - sudo apt-get update -qq - - sudo apt-get install -y python3.3 + - sudo apt-get install -y python3.3 python3 script: - make -C unix From 9b5a9d41dc061b51ebc1dd969df3ce9b5f7bde91 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Tue, 15 Apr 2014 02:29:59 +0100 Subject: [PATCH 3/4] 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 From c29a0ac56a916fe14d443086a2987c0bb65b8749 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Tue, 15 Apr 2014 02:42:23 +0100 Subject: [PATCH 4/4] Update .travis.yml Seems like I'd inadvertently created invalid YAML! --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 330ca3c64d..62dd656ccf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,5 +11,4 @@ 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 +after_failure: for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done