Skip to content

Commit

Permalink
travis: print version information in build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaeckel committed Feb 25, 2014
1 parent c5b57cf commit e97d921
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions testbuild.sh
Original file line number Diff line number Diff line change
@@ -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..."
Expand Down
3 changes: 0 additions & 3 deletions testme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e97d921

Please sign in to comment.