forked from karalabe/usb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (47 loc) · 866 Bytes
/
.travis.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
47
48
49
language: go
matrix:
include:
- os: linux
dist: trusty
go: 1.5.x
- os: linux
dist: trusty
go: 1.6.x
- os: linux
dist: trusty
go: 1.7.x
- os: linux
dist: trusty
go: 1.8.x
- os: linux
dist: trusty
go: 1.9.x
- os: linux
dist: xenial
go: 1.9.x
- os: linux
dist: xenial
go: 1.10.x
- os: linux
dist: xenial
go: 1.11.x
- os: linux
dist: xenial
go: 1.12.x
- os: osx
go: 1.12.x
- os: linux
dist: bionic
go: 1.13.x
services:
- docker
env:
- docker
script:
- docker build -f Dockerfile.ubuntu .
- docker build -f Dockerfile.alpine .
script:
- go install ./...
- go test -v ./...
- CGO_ENABLED=0 go install ./...
- CGO_ENABLED=0 go test -v ./...