@@ -4,6 +4,10 @@ compiler:
- clang
script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/libtommath.a"
env:
+ - |
+ BUILDSCRIPT="check_source.sh"
+ BUILDNAME="CHECK_SOURCES"
+ BUILDOPTIONS=" "
- |
BUILDSCRIPT="coverage.sh"
BUILDNAME="COVERAGE"
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# output version
+bash printinfo.sh
+make clean > /dev/null
+if [ -f check-source.pl ] ; then
+ echo "checking white spaces..."
+ perl check-source.pl || exit 1
+fi
+exit 0
+# $Source$
+# $Revision$
+# $Date$
@@ -10,6 +10,9 @@ fi
# date
echo "date="`date`
+# check sources
+bash check_source.sh "CHECK_SOURCES" " " "$1" "$2" "$3" || exit 1
# stock build
bash run.sh "STOCK" " " "$1" "$2" "$3" || exit 1