Add Codecov support

disco_info_form
Mickael Remond 6 years ago
parent 753a872fe8
commit a6b003ccd3
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

4
.gitignore vendored

@ -27,3 +27,7 @@ coverage.out
.idea/
*.iml
.DS_Store
# Do not commit codeship key
codeship.aes
codeship.env

@ -1,4 +1,4 @@
FROM golang:1.9
WORKDIR /go/src/fluux.io/xmpp
COPY . ./
RUN go get github.com/processone/mpg123 github.com/processone/soundcloud
RUN go get -t -v ./...

@ -2,3 +2,4 @@ build:
build:
image: fluux/build
dockerfile: Dockerfile
encrypted_env_file: codeship.env.encrypted

@ -2,4 +2,7 @@
steps:
- name: test
service: build
command: go test -v ./...
command: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: codecov
service: build
command: bash -c "curl -s https://codecov.io/bash"

Loading…
Cancel
Save