summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/.travis.yml')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/.travis.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/.travis.yml b/vendor/github.com/SevereCloud/vksdk/v2/.travis.yml
new file mode 100644
index 00000000..47727020
--- /dev/null
+++ b/vendor/github.com/SevereCloud/vksdk/v2/.travis.yml
@@ -0,0 +1,20 @@
+---
+language: go
+
+cache:
+ directories:
+ - $HOME/.cache/go-build
+ - $HOME/gopath/pkg/mod
+
+go:
+ - 1.x
+
+before_script:
+ - git fetch --depth=1 origin +refs/tags/*:refs/tags/*
+ - git describe --tags $(git rev-list --tags --max-count=1) --always
+
+script:
+ - go test -v -race -coverprofile=coverage.txt -covermode=atomic -p=1 ./...
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)