-
Notifications
You must be signed in to change notification settings - Fork 1
/
wercker.yml
46 lines (39 loc) · 767 Bytes
/
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
39
40
41
42
43
44
45
46
box: golang
dev:
steps:
- internal/watch:
code: |
go build ./...
./source
reload: true
# Build definition
build:
# The steps that will be executed on build
steps:
- setup-go-workspace
# golint step!
- wercker/golint
# Get dependencies for the project
- script:
name: go get
code: |
go get ./...
# Build the project
- script:
name: go build
code: |
go build ./...
# Test the project
- script:
name: go test
code: |
go test ./...
deploy:
steps:
- setup-go-workspace
- script:
name: go get
code: |
go get ./...
- tcnksm/goveralls:
token: $COVERALLS_TOKEN