Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #24 from magneticio/feature/coveralls
Browse files Browse the repository at this point in the history
Add coveralls support
  • Loading branch information
bgokden authored Apr 25, 2019
2 parents 38761e5 + 56ccf8a commit d2defa9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ jobs:
steps:
- checkout
- run: mkdir -p ./artifacts
- run: go get golang.org/x/tools/cmd/cover
- run: go get github.com/mattn/goveralls
- run: ./test.sh
- run: $GOPATH/bin/goveralls -coverprofile=coverage.out -service=circle-ci -repotoken $COVERALLS_TOKEN
- run: ./build.sh local
- run: cp ./bin/* ./artifacts
- run: cp ./bin/vamp-darwin-amd64 ./artifacts/vamp-darwin-x86_64
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ bin/
.idea/
temp/
vampkubistcli

coverage.out
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Vamp Kubist command line client

[![Coverage Status](https://coveralls.io/repos/github/magneticio/vampkubistcli/badge.svg?branch=master)](https://coveralls.io/github/magneticio/vampkubistcli?branch=master)

Vamp Kubist Command Line Client is a command line client written in golang and allows a user interface to the Vamp Kubist API. It also supports common functions that are useful to regular users.

Command Line client requires a running Vamp Kubist service to function.
Please check How to Setup Vamp Kubist on common documentation repository: https://github.com/magneticio/vamp2setup
Please check How to Setup Vamp Kubist on common documentation repository: https://github.com/magneticio/vampkubistdocs

## development
if you have golang installed, it is recommended to git clone it to $GOPATH/src/github.com/magneticio/vampkubistcli
Expand Down Expand Up @@ -66,7 +68,7 @@ https://github.com/magneticio/vamp/releases/latest

This documentation is prepared for explaining the general usage of command line client.
This Readme doesn't explain every path.
Tutorials will be shared soon.
Check docs repository for more: https://github.com/magneticio/vampkubistdocs

Check the version of the client with:
```shell
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

go test ./...
go test ./... -v -covermode=count -coverprofile=coverage.out

0 comments on commit d2defa9

Please sign in to comment.