Skip to content

Commit c2ac50f

Browse files
adding support for travis and bors
1 parent d121cde commit c2ac50f

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

.travis.yml

+24-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,31 @@
1-
language: go
1+
---
2+
branches:
3+
only:
4+
- master
5+
- /^v\d+\.\d+\.\d+.*/
6+
- staging
7+
- trying
28

3-
sudo: required
9+
cache:
10+
directories:
11+
- $GOPATH/pkg
12+
- $GOPATH/bin
413

514
go:
615
- 1.12.x
716

8-
branches:
9-
only:
10-
- master
11-
1217
install:
1318
- go get -u github.com/golang/dep/cmd/dep
14-
- dep ensure
19+
- dep ensure
20+
21+
language: go
22+
23+
notifications:
24+
email:
25+
on_success: never
26+
27+
os:
28+
- linux
29+
- osx
30+
31+
sudo: required

bors.toml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
status = [
2+
"continuous-integration/travis-ci/push"
3+
]
4+
5+
pr_status = [
6+
"continuous-integration/travis-ci/pr"
7+
]
8+
9+
required_approvals = 1
10+
delete_merged_branches = true

0 commit comments

Comments
 (0)