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
This commit is contained in:
Andy Keep 2018-01-15 21:24:22 -05:00
parent cb0c235ef2
commit 8d03bb0fe5
3 changed files with 11 additions and 1 deletions

View File

@ -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

6
.travis/dobuild.sh Normal file
View File

@ -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: $?"

4
.travis/summary Normal file
View File

@ -0,0 +1,4 @@
-------- o=0 --------
-------- o=3 --------
-------- o=3 cp0=t --------
-------- o=3 cp0=t eval=interpret --------