Skip to content
Browse files

add jenkins driver

  • Loading branch information...
1 parent c431832 commit f7a57a5ebb4630e5b8b36cea9ad8b6153a1f4577 @hannosch hannosch committed
Showing with 16 additions and 0 deletions.
  1. +16 −0 jenkins.sh
View
16 jenkins.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+set -e
+
+echo "Starting build on executor $EXECUTOR_NUMBER..."
+
+# Make sure there's no old pyc files around.
+find . -name '*.pyc' -exec rm {} \;
+
+make build
+
+echo "Starting tests..."
+
+bin/nosetests -s -d -v --with-xunit --with-coverage --cover-package monolith monolith
+bin/coverage xml $(find monolith -name '*.py')
+
+echo "FIN"

0 comments on commit f7a57a5

Please sign in to comment.
Something went wrong with that request. Please try again.