Skip to content

Commit 76fe031

Browse files
ci(travis): review ci tools usage
1 parent 80693d0 commit 76fe031

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: go
2-
dist: xenial
2+
dist: bionic
33
notifications:
44
email:
55
recipients:
@@ -9,18 +9,12 @@ notifications:
99
addons:
1010
apt:
1111
update: true
12-
env: GO111MODULE=on GOFLAGS='-mod vendor'
1312
go:
1413
- "1.12"
1514
- "1.13"
16-
# Trigger a push build on master and dependabot branches + PRs build on every branches
17-
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
18-
branches:
19-
only:
20-
- master
21-
- /^dependabot.*$/
2215
before_script:
2316
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin v1.23.8
17+
- export PATH="$GOPATH/bin:$PATH"
2418
script:
2519
- ./scripts/validate-go.sh
2620
- ./scripts/test-go.sh

0 commit comments

Comments
 (0)