fermentord/vendor/github.com/JuulLabs-OSS/ble/.travis.yml
Søren Rasmussen 07a23c1845
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Upgrade to go 1.20 and add vendor catalog
2023-04-22 10:37:23 +02:00

24 lines
885 B
YAML

language: go
os:
- osx
- linux
go:
- 1.8
- 1.9
- tip
go_import_path: github.com/JuulLabs-OSS/ble
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then go get ./...; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then GOOS=linux go get && GOOS=linux go get ./linux; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then go vet ./...; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then GOOS=linux go vet && GOOS=linux go vet ./linux/...; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then go test ./...; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then GOOS=linux go test && GOOS=linux go test ./linux/...; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then go build -v ./...; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then GOOS=linux go build -v && GOOS=linux go build -v ./linux/...; fi