Browse files

travis: print version information in build scripts

  • Loading branch information...
1 parent c5b57cf commit e97d921c8df8c8b82b57f31d628e251eec58f9f8 @sjaeckel sjaeckel committed Feb 25, 2014
Showing with 8 additions and 4 deletions.
  1. +0 −1 .travis.yml
  2. +4 −0 run.sh
  3. +4 −0 testbuild.sh
  4. +0 −3 testme.sh
View
1 .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"
View
4 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
View
4 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..."
View
3 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

0 comments on commit e97d921

Please sign in to comment.