Skip to content

Commit 73e8321

Browse files
authored
Update travis CI configuration (#602)
Updates the Travis CI configuration to be current.
1 parent 72211bc commit 73e8321

File tree

2 files changed

+34
-8
lines changed

2 files changed

+34
-8
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
11+
build:
12+
name: API Diff Check
13+
runs-on: ubuntu-latest
14+
steps:
15+
16+
- name: Set up Go 1.x
17+
uses: actions/setup-go@v2
18+
with:
19+
go-version: ^1.14
20+
id: go
21+
22+
- name: Check out code into the Go module directory
23+
uses: actions/checkout@v2
24+
25+
- name: Get dependencies
26+
run: |
27+
go install golang.org/x/exp/cmd/gorelease
28+
29+
- name: Check APIs
30+
run: $(go env GOPATH)/bin/gorelease

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
language: go
2-
3-
sudo: required
2+
sudo: true
3+
dist: bionic
44

55
os:
66
- linux
7-
- osx
87
go:
9-
- 1.11.x
10-
- 1.12.x
8+
- 1.13.x
9+
- 1.14.x
1110
- tip
1211

1312
matrix:
@@ -17,6 +16,3 @@ matrix:
1716
script:
1817
make ci-test;
1918

20-
branches:
21-
only:
22-
- master

0 commit comments

Comments
 (0)