forked from bugst/go-serial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (29 loc) · 948 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
language: go
go:
- 1.7.x
go_import_path: go.bug.st/serial.v1
env:
- TEST_OS=linux TEST_ARCH=386
- TEST_OS=linux TEST_ARCH=amd64
- TEST_OS=linux TEST_ARCH=arm
- TEST_OS=windows TEST_ARCH=386
- TEST_OS=windows TEST_ARCH=amd64
- TEST_OS=darwin TEST_ARCH=386
- TEST_OS=darwin TEST_ARCH=amd64
- TEST_OS=freebsd TEST_ARCH=amd64
- TEST_OS=dragonfly TEST_ARCH=amd64
matrix:
allow_failures:
- env: TEST_OS=dragonfly TEST_ARCH=amd64
before_install:
script:
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go get github.com/stretchr/testify/require
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go get golang.org/x/sys/windows
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go build -v go.bug.st/serial.v1
- GOARM=5 GO386=387 GOOS=$TEST_OS GOARCH=$TEST_ARCH go test -c -v go.bug.st/serial.v1
notifications:
email:
recipients:
- c.maglie@bug.st
on_success: change
on_failure: always