Add Codecov

This commit is contained in:
Lena Fuhrimann 2017-12-05 23:16:03 +01:00
parent 4f5d6a22f7
commit f978993ebc
2 changed files with 19 additions and 13 deletions

View file

@ -1,4 +1,10 @@
language: go
script: go test -v
install: go get -u github.com/golang/dep/cmd/dep && dep ensure
before_install:
- go get -t -v ./...
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)

22
Gopkg.lock generated
View file

@ -11,13 +11,13 @@
branch = "master"
name = "github.com/dustin/go-humanize"
packages = ["."]
revision = "77ed807830b4df581417e7f89eb81d4872832b72"
revision = "bb3d318650d48840a39aa21a027c6630e198e626"
[[projects]]
name = "github.com/go-ini/ini"
packages = ["."]
revision = "f280b3ba517bf5fc98922624f21fb0e7a92adaec"
version = "v1.30.3"
revision = "32e4c1e6bc4e7d0d8451aa6b75200d19e37a536a"
version = "v1.32.0"
[[projects]]
name = "github.com/gorilla/context"
@ -28,20 +28,20 @@
[[projects]]
name = "github.com/gorilla/mux"
packages = ["."]
revision = "24fca303ac6da784b9e8269f724ddeb0b2eea5e7"
version = "v1.5.0"
revision = "7f08801859139f86dfafd1c296e2cba9a80d292e"
version = "v1.6.0"
[[projects]]
branch = "master"
name = "github.com/mastertinner/adapters"
packages = [".","logging"]
revision = "5b03a2ea9f89295fba5ab18b2c4af55b843e3a2d"
revision = "c180cf74ef5c8cc76f0e2cf957c55375675e007f"
[[projects]]
branch = "master"
name = "github.com/minio/go-homedir"
packages = ["."]
revision = "21304a94172ae3a09dee2cd86a12fb6f842138c7"
revision = "4d76aabb80b22bad8695d3904e943f1fb5e6199f"
[[projects]]
name = "github.com/minio/minio-go"
@ -64,8 +64,8 @@
[[projects]]
name = "github.com/sirupsen/logrus"
packages = ["."]
revision = "f006c2ac4710855cf0f916dd6b77acf6b048dc6e"
version = "v1.0.3"
revision = "d682213848ed68c0a260ca37d6dd5ace8423f5ba"
version = "v1.0.4"
[[projects]]
name = "github.com/stretchr/testify"
@ -77,13 +77,13 @@
branch = "master"
name = "golang.org/x/crypto"
packages = ["ssh/terminal"]
revision = "2509b142fb2b797aa7587dad548f113b2c0f20ce"
revision = "94eea52f7b742c7cbe0b03b22f0c4c8631ece122"
[[projects]]
branch = "master"
name = "golang.org/x/sys"
packages = ["unix","windows"]
revision = "0649f9fe46d917da5591af4d4784b6badd31d7e5"
revision = "8b4580aae2a0dd0c231a45d3ccb8434ff533b840"
[solve-meta]
analyzer-name = "dep"