# $WORKSPACE
# $JOB_NAME
echo 
echo 
echo Testing MarineMap : revision $MERCURIAL_REVISION
echo
echo
coverage run run_tests.py

echo 
echo 
echo Building MarineMap docs : revision $MERCURIAL_REVISION
echo
echo
python build_docs.py -d /var/www/marinemap-docs -j  /usr/local/jsdoc-toolkit-read-only/jsdoc-toolkit 

echo 
echo 
echo Analyzing coverage : revision $MERCURIAL_REVISION
echo
echo
coverage xml --omit /usr/share


# $WORKSPACE
# $JOB_NAME
echo 
echo 
echo Building MarineMap docs : revision $MERCURIAL_REVISION
echo
echo
python build_docs.py -d /var/www/marinemap-docs -j  /usr/local/jsdoc-toolkit-read-only/jsdoc-toolkit 

echo 
echo 
echo Testing MarineMap : revision $MERCURIAL_REVISION
echo
echo
coverage run run_tests.py

echo 
echo 
echo Analyzing coverage : revision $MERCURIAL_REVISION
echo
echo
coverage xml --omit /usr/share


--- 
+++ 
@@ -1,5 +1,12 @@
 # $WORKSPACE
 # $JOB_NAME
+echo 
+echo 
+echo Building MarineMap docs : revision $MERCURIAL_REVISION
+echo
+echo
+python build_docs.py -d /var/www/marinemap-docs -j  /usr/local/jsdoc-toolkit-read-only/jsdoc-toolkit 
+
 echo 
 echo 
 echo Testing MarineMap : revision $MERCURIAL_REVISION
@@ -9,13 +16,6 @@
 
 echo 
 echo 
-echo Building MarineMap docs : revision $MERCURIAL_REVISION
-echo
-echo
-python build_docs.py -d /var/www/marinemap-docs -j  /usr/local/jsdoc-toolkit-read-only/jsdoc-toolkit 
-
-echo 
-echo 
 echo Analyzing coverage : revision $MERCURIAL_REVISION
 echo
 echo
Test first, build docs later. Faster test feedback from hudson.
