mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
Merge pull request #274 from KonstantinKuklin/travis_macos
add macOS to .travis.yml
This commit is contained in:
commit
5cab1ed749
@ -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