Skip to content

Commit c04a33e

Browse files
authored
Merge pull request #4 from vinted/feature/add_travis_configuration
Add travis-ci configuration
2 parents 79cb4c1 + 26f6157 commit c04a33e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: go
2+
go:
3+
- "1.16.x"
4+
5+
services:
6+
- docker
7+
8+
install: true
9+
10+
before_install:
11+
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0
12+
script:
13+
- golangci-lint run -v --timeout 5m0s
14+
- docker-compose build tester && docker-compose run --rm tester go test ./...; docker-compose down

0 commit comments

Comments
 (0)