diff options
author | Brandon West <brawest@gmail.com> | 2014-06-14 11:52:50 -0600 |
---|---|---|
committer | Brandon West <brawest@gmail.com> | 2014-06-14 11:52:50 -0600 |
commit | 898833bcc29c943936a8bdba99b3ba03ad43f3cf (patch) | |
tree | bf5732999178dc24b06283af35bb18c8747b07c1 /SendGrid | |
parent | 4d894d7f8543360a7e7414263898083436fe36b9 (diff) | |
download | sendgrid-csharp-898833bcc29c943936a8bdba99b3ba03ad43f3cf.zip sendgrid-csharp-898833bcc29c943936a8bdba99b3ba03ad43f3cf.tar.gz sendgrid-csharp-898833bcc29c943936a8bdba99b3ba03ad43f3cf.tar.bz2 |
easier to run scripts from the solution dir
Diffstat (limited to 'SendGrid')
-rw-r--r-- | SendGrid/.ci/tests.sh | 13 |
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 $? |