From 8d03bb0fe5fa4a0a5113a5e2107aa0105fe32ba7 Mon Sep 17 00:00:00 2001 From: Andy Keep Date: Mon, 15 Jan 2018 21:24:22 -0500 Subject: [PATCH] Small update to move build out to a seperate file, also adding expected summary. Moved command out of travis configuration file and created a separate bash script we could run. The filtering appears to be getting in the way of the error code being forwarded up to the running shell, and it is possible the -e option on bash will help. The summary file is the expected result file (for diffing, if necessary). .travis.yml, .travis/dobuil.sh (new), .travis/summary original commit: 48cb144d83b5fffa0d2523790a6d0bf172d154ea --- .travis.yml | 2 +- .travis/dobuild.sh | 6 ++++++ .travis/summary | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .travis/dobuild.sh create mode 100644 .travis/summary diff --git a/.travis.yml b/.travis.yml index b4a993eb3d..ff99c30e55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,4 @@ addons: - lib32ncurses5-dev - libx32ncurses5-dev script: - - ./configure -m=$TARGET_MACHINE && make && ( cd ${TARGET_MACHINE}/mats && make all 2>&1 ) | tee Make.out | grep '^matting ' ;; echo "exit code: $?" + - .travis/dobuild.sh diff --git a/.travis/dobuild.sh b/.travis/dobuild.sh new file mode 100644 index 0000000000..f2febca2b9 --- /dev/null +++ b/.travis/dobuild.sh @@ -0,0 +1,6 @@ +#!/bin/bash -e + +./configure -m=$TARGET_MACHINE +make +( cd ${TARGET_MACHINE}/mats && make all 2>&1 ) | tee Make.out | grep '^matting ' +echo "exit code: $?" diff --git a/.travis/summary b/.travis/summary new file mode 100644 index 0000000000..78621f2a20 --- /dev/null +++ b/.travis/summary @@ -0,0 +1,4 @@ +-------- o=0 -------- +-------- o=3 -------- +-------- o=3 cp0=t -------- +-------- o=3 cp0=t eval=interpret --------