mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
add macOS to .travis.yml
This commit is contained in:
parent
11268cb7c2
commit
7839ea895e
@ -1,5 +1,9 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
go:
|
go:
|
||||||
# - 1.7.x
|
# - 1.7.x
|
||||||
# - 1.8.x
|
# - 1.8.x
|
||||||
@ -39,4 +43,7 @@ addons:
|
|||||||
before_install:
|
before_install:
|
||||||
- export PATH=$PATH:$HOME/gopath/bin
|
- export PATH=$PATH:$HOME/gopath/bin
|
||||||
- go get -v -t -d ./...
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user