summaryrefslogtreecommitdiffstats
path: root/SendGrid/.ci/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'SendGrid/.ci/tests.sh')
-rw-r--r--SendGrid/.ci/tests.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/SendGrid/.ci/tests.sh b/SendGrid/.ci/tests.sh
new file mode 100644
index 0000000..62e15d8
--- /dev/null
+++ b/SendGrid/.ci/tests.sh
@@ -0,0 +1,13 @@
+#!/bin/sh -x
+
+mono --runtime=v4.0 .nuget/NuGet.exe install NUnit.Runners -Version 2.6.1 -o packages
+
+runTest(){
+ mono --runtime=v4.0 packages/NUnit.Runners.2.6.1/tools/nunit-console.exe -noxml -nodots -labels -stoponerror $@
+ if [ $? -ne 0 ]
+ then
+ exit 1
+ fi
+}
+
+exit $?