mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
commit
787ff6d7e9
2 changed files with 0 additions and 134 deletions
54
.travis.yml
54
.travis.yml
|
|
@ -1,54 +0,0 @@
|
|||
language: go
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
go:
|
||||
# - 1.7.x
|
||||
# - 1.8.x
|
||||
# - 1.9.x
|
||||
# - 1.10.x
|
||||
# - 1.11.x
|
||||
# - 1.12.x
|
||||
# - 1.13.x
|
||||
# - 1.14.x
|
||||
# - 1.15.x
|
||||
# - 1.16.x
|
||||
# - 1.17.x
|
||||
# - 1.18.x
|
||||
- 1.19.x
|
||||
# - tip
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libx11-dev xorg-dev
|
||||
- libxtst-dev libpng++-dev
|
||||
- xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
|
||||
# - libusb-dev
|
||||
- libxkbcommon-dev
|
||||
- xsel
|
||||
- xclip
|
||||
#
|
||||
- xvfb
|
||||
# script:
|
||||
# - sudo apt update
|
||||
# - sudo apt install libx11-dev
|
||||
# - sudo apt install xorg-dev
|
||||
# - sudo apt install libxtst-dev libpng++-dev
|
||||
# # Event:
|
||||
# - sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
|
||||
# - sudo apt install libxkbcommon-dev
|
||||
# # Clipboard:
|
||||
# - sudo apt install xsel
|
||||
# - sudo apt install xclip
|
||||
# - go test -v .
|
||||
|
||||
before_install:
|
||||
- export PATH=$PATH:$HOME/gopath/bin
|
||||
- go get -v -t -d ./...
|
||||
|
||||
script:
|
||||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then xvfb-run go test -v ./...; fi
|
||||
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then go test -v ./...; fi
|
||||
80
appveyor.yml
80
appveyor.yml
|
|
@ -1,80 +0,0 @@
|
|||
# version format
|
||||
version: "{build}"
|
||||
|
||||
# Operating system (build VM template)
|
||||
# os: Windows Server 2012 R2
|
||||
os: Visual Studio 2017
|
||||
|
||||
# Platform.
|
||||
# platform:
|
||||
# - x64
|
||||
# - x86
|
||||
|
||||
clone_folder: c:\gopath\src\github.com\go-vgo\robotgo
|
||||
|
||||
# Environment variables
|
||||
environment:
|
||||
global:
|
||||
GOPATH: C:\gopath
|
||||
CC: gcc.exe
|
||||
matrix:
|
||||
- GOARCH: amd64
|
||||
# GOVERSION: 1.9.3
|
||||
GETH_ARCH: amd64
|
||||
MSYS2_ARCH: x86_64
|
||||
MSYS2_BITS: 64
|
||||
MSYSTEM: MINGW64
|
||||
PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
|
||||
- GOARCH: 386
|
||||
# GOVERSION: 1.9.3
|
||||
GETH_ARCH: 386
|
||||
MSYS2_ARCH: i686
|
||||
MSYS2_BITS: 32
|
||||
MSYSTEM: MINGW32
|
||||
PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
|
||||
# - COMPILER: MINGW_W64
|
||||
# ARCHITECTURE: x64
|
||||
GOVERSION: 1.25.0
|
||||
# GOPATH: c:\gopath
|
||||
|
||||
# scripts that run after cloning repository
|
||||
# install:
|
||||
# - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
||||
# - go version
|
||||
# - go env
|
||||
# - gcc --version
|
||||
# - python --version
|
||||
|
||||
install:
|
||||
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
||||
- git submodule update --init
|
||||
- rmdir C:\go /s /q
|
||||
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-%GETH_ARCH%.zip
|
||||
- 7z x go%GOVERSION%.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
|
||||
- go version
|
||||
- go env
|
||||
- gcc --version
|
||||
|
||||
# To run your custom scripts instead of automatic MSBuild
|
||||
build_script:
|
||||
# We need to disable firewall - https://github.com/appveyor/ci/issues/1579#issuecomment-309830648
|
||||
- ps: Disable-NetFirewallRule -DisplayName 'File and Printer Sharing (SMB-Out)'
|
||||
- cd c:\gopath\src\github.com\go-vgo\robotgo
|
||||
- git branch
|
||||
- go get -t ./...
|
||||
|
||||
# To run your custom scripts instead of automatic tests
|
||||
test_script:
|
||||
# Unit tests
|
||||
- ps: Add-AppveyorTest "Unit Tests" -Outcome Running
|
||||
- go test -v github.com/go-vgo/robotgo/...
|
||||
- ps: Update-AppveyorTest "Unit Tests" -Outcome Passed
|
||||
|
||||
# notifications:
|
||||
# - provider: Email
|
||||
# to:
|
||||
# - .io
|
||||
# on_build_failure: true
|
||||
# on_build_status_changed: true
|
||||
# to disable deployment
|
||||
deploy: off
|
||||
Loading…
Reference in a new issue