travis: Include the database and copying raw files.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2017-12-21 16:03:01 +01:00
parent fe4275d555
commit 9b47dcc1ea
1 changed files with 6 additions and 2 deletions

View File

@ -53,16 +53,20 @@ for SETTINGS in $(find -name settings.sh); do
DEVICE=$(basename $(dirname $SETTINGS))
echo
echo "Generating for $s"
echo "Generating for $DEVICE"
echo "--------------------------------------------"
echo "settings.sh $(sha256sum $SETTINGS)"
cat $SETTINGS
echo "--------------------------------------------"
python3 $TMPDIR/prjxray/htmlgen/htmlgen.py --settings=$SETTINGS
echo "--------------------------------------------"
cp $DEVICE/* ./html/$DEVICE/
echo "--------------------------------------------"
echo
done
cp COPYING html/COPYING
python3 -m markdown \
-x markdown.extensions.fenced_code \
-x markdown.extensions.tables \
@ -74,7 +78,7 @@ python3 -m markdown \
echo
echo "HTML Results"
echo "--------------------------------------------"
sha256sum $(find html -type f | sort)
sha256sum $(find html -type f -name *.html | sort)
echo "--------------------------------------------"
echo
)