From e97d921c8df8c8b82b57f31d628e251eec58f9f8 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 25 Feb 2014 10:31:13 +0100 Subject: [PATCH] travis: print version information in build scripts --- .travis.yml | 1 - run.sh | 4 ++++ testbuild.sh | 4 ++++ testme.sh | 3 --- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 36ff1233d..5f6fe2b48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ compiler: - gcc script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/libtommath.a" env: - - BUILDSCRIPT="printinfo.sh" BUILDNAME="" BUILDOPTIONS="" - BUILDSCRIPT="run.sh" BUILDNAME="STOCK" BUILDOPTIONS=" " - BUILDSCRIPT="run.sh" BUILDNAME="SMALL" BUILDOPTIONS="-DLTC_SMALL_CODE" - BUILDSCRIPT="run.sh" BUILDNAME="NOTABLES" BUILDOPTIONS="-DLTC_NO_TABLES" diff --git a/run.sh b/run.sh index dd982e987..8d56f5ad4 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +1,8 @@ #!/bin/bash + +# output version +bash printinfo.sh + bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5" if [ -a testok.txt ] && [ -f testok.txt ]; then echo diff --git a/testbuild.sh b/testbuild.sh index 6a9e3e6f4..c4caa4838 100755 --- a/testbuild.sh +++ b/testbuild.sh @@ -1,4 +1,8 @@ #!/bin/bash + +# output version +bash printinfo.sh + echo "$1 (Build Only, $2, $3)..." make clean 1>/dev/null 2>/dev/null echo -n "building..." diff --git a/testme.sh b/testme.sh index 4275bc2a3..fd049537b 100755 --- a/testme.sh +++ b/testme.sh @@ -10,9 +10,6 @@ fi # date echo "date="`date` -# output version -bash printinfo.sh - # stock build bash run.sh "STOCK" " " "$1" "$2" "$3" || exit 1