-
Notifications
You must be signed in to change notification settings - Fork 64
/
wercker.yml
38 lines (33 loc) · 1.05 KB
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
box: golang
build:
steps:
- script:
name: Get dependencies
code: |
go get -u github.com/ctdk/goiardi/chefcrypto
go get -u github.com/ctdk/goiardi/authentication
go get -u github.com/davecgh/go-spew/spew
go get -u github.com/smartystreets/goconvey/convey
go get -u github.com/mattn/goveralls
- script:
name: static
code: |
go fmt
test -z "$(git status --porcelain)"
# TODO: add metalinter
# Using the gocov tool to test the exact package we want to test from GOPATH
- script:
name: Test
code: |
go test -covermode=count -coverprofile=profile.cov
# - script:
# name: Coveralls.io
# code: |
# goveralls -service='wercker.com' -repotoken=$COVERALLS_TOKEN -coverprofile=profile.cov
# after-steps:
# - wouter/irc-notify:
# server: irc.freenode.net
# port: 6667
# nickname: wercker
# channel: go-chef