aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEmiliano Ciavatta2021-07-28 08:17:39 +0000
committerEmiliano Ciavatta2021-07-28 08:17:39 +0000
commit520901864877b7be3115e4fa0ee6544c3de2476c (patch)
treea5a2784c1aad4002191eecefce5629363aed990f /scripts
parentfdb0bf97d2dec72adf08e5f2d7ad65b560d8cf8e (diff)
Add github test workflow
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_tests.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/travis_tests.sh b/scripts/travis_tests.sh
deleted file mode 100755
index 5c51823..0000000
--- a/scripts/travis_tests.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# wait mongodb server
-sleep 10
-
-# run tests
-go test -v -race -coverprofile=coverage.txt -covermode=atomic
-
-RET_CODE=$?
-
-#
-if [ $RET_CODE -eq 0 ]; then
- echo "travis_tests_success"
-else
- echo "travis_tests_fails"
-fi
-
-exit $RET_CODE