Merge pull request #274 from KonstantinKuklin/travis_macos

add macOS to .travis.yml
This commit is contained in:
vz 2020-05-28 10:44:46 -04:00 committed by GitHub
commit 5cab1ed749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,9 @@
language: go
os:
- linux
- osx
go:
# - 1.7.x
# - 1.8.x
@ -39,4 +43,7 @@ addons:
before_install:
- export PATH=$PATH:$HOME/gopath/bin
- go get -v -t -d ./...
- xvfb-run go test -v ./...
script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then xvfb-run go test -v ./...; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then go test -v ./...; fi