mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Update circle to 2.0
This commit is contained in:
parent
ee84b57234
commit
a263c09d03
21
.circleci/config.yml
Normal file
21
.circleci/config.yml
Normal file
@ -0,0 +1,21 @@
|
||||
version: 2
|
||||
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
# using custom image, see .circleci/images/primary/Dockerfile
|
||||
- image: govgo/robotgoci:0.0.1
|
||||
working_directory: /go/src/github.com/go-vgo/robotgo
|
||||
steps:
|
||||
- checkout
|
||||
# specify any bash command here prefixed with `run: `
|
||||
# override:
|
||||
# './...' is a relative pattern which means all subdirectories
|
||||
# - run: go get -u github.com/go-vgo/robotgo
|
||||
# - run: go get -u golang.org/x/sys/unix
|
||||
# - run: go get -u github.com/shirou/gopsutil
|
||||
- run: go get -v -t -d ./...
|
||||
- run: go test -v ./...
|
||||
# codecov.io
|
||||
# - run: go test -v -covermode=count -coverprofile=coverage.out
|
||||
# - run: bash <(curl -s https://codecov.io/bash)
|
17
.circleci/images/primary/Dockerfile
Normal file
17
.circleci/images/primary/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM golang:1.9.2
|
||||
|
||||
RUN apt-get update
|
||||
# customize dependencies
|
||||
RUN apt-get install -y libx11-dev
|
||||
# - sudo apt-get install libgtkglextmm-x11-dev
|
||||
# - sudo apt-get install libghc6-x11-dev
|
||||
# - sudo apt-get install libgl1-mesa-swx11-dev
|
||||
RUN apt-get install -y xorg-dev
|
||||
RUN apt-get install -y libxtst-dev libpng++-dev
|
||||
# Event:
|
||||
RUN apt-get install -y xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
|
||||
RUN apt-get install -y libxkbcommon-dev
|
||||
# Clipboard:
|
||||
RUN apt-get install -y xsel
|
||||
RUN apt-get install -y xclip
|
||||
RUN go get -u github.com/go-vgo/robotgo
|
30
circle.yml
30
circle.yml
@ -1,30 +0,0 @@
|
||||
# circle.yml #
|
||||
# machine:
|
||||
# go:
|
||||
# version: 1.7.4
|
||||
|
||||
# customize dependencies
|
||||
dependencies:
|
||||
pre:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install libx11-dev
|
||||
# - sudo apt-get install libgtkglextmm-x11-dev
|
||||
# - sudo apt-get install libghc6-x11-dev
|
||||
# - sudo apt-get install libgl1-mesa-swx11-dev
|
||||
- sudo apt-get install xorg-dev
|
||||
- sudo apt-get install libxtst-dev libpng++-dev
|
||||
# Event:
|
||||
- sudo apt-get install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
|
||||
- sudo apt-get install libxkbcommon-dev
|
||||
# Clipboard:
|
||||
- sudo apt-get install xsel
|
||||
- sudo apt-get install xclip
|
||||
override:
|
||||
# './...' is a relative pattern which means all subdirectories
|
||||
# - go get -u github.com/shirou/gopsutil
|
||||
# - go get -u github.com/go-vgo/robotgo
|
||||
- go get -t -d -v ./...
|
||||
|
||||
test:
|
||||
post:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
@ -63,7 +63,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
version string = "v0.46.6.435, Pyrenees Mountains!"
|
||||
version string = "v0.46.6.437, Pyrenees Mountains!"
|
||||
)
|
||||
|
||||
type (
|
||||
|
Loading…
Reference in New Issue
Block a user