travis: print version information in build scripts

This commit is contained in:
Steffen Jaeckel
2014-02-25 10:31:13 +01:00
parent c5b57cfee4
commit e97d921c8d
4 changed files with 8 additions and 4 deletions
-1
View File
@@ -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"
+4
View File
@@ -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
+4
View File
@@ -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..."
-3
View File
@@ -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