Skip to content

Commit a263c09

Browse files
committed
Update circle to 2.0
1 parent ee84b57 commit a263c09

File tree

4 files changed

+39
-31
lines changed

4 files changed

+39
-31
lines changed

.circleci/config.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
3+
jobs:
4+
build:
5+
docker:
6+
# using custom image, see .circleci/images/primary/Dockerfile
7+
- image: govgo/robotgoci:0.0.1
8+
working_directory: /go/src/github.com/go-vgo/robotgo
9+
steps:
10+
- checkout
11+
# specify any bash command here prefixed with `run: `
12+
# override:
13+
# './...' is a relative pattern which means all subdirectories
14+
# - run: go get -u github.com/go-vgo/robotgo
15+
# - run: go get -u golang.org/x/sys/unix
16+
# - run: go get -u github.com/shirou/gopsutil
17+
- run: go get -v -t -d ./...
18+
- run: go test -v ./...
19+
# codecov.io
20+
# - run: go test -v -covermode=count -coverprofile=coverage.out
21+
# - run: bash <(curl -s https://codecov.io/bash)

.circleci/images/primary/Dockerfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM golang:1.9.2
2+
3+
RUN apt-get update
4+
# customize dependencies
5+
RUN apt-get install -y libx11-dev
6+
# - sudo apt-get install libgtkglextmm-x11-dev
7+
# - sudo apt-get install libghc6-x11-dev
8+
# - sudo apt-get install libgl1-mesa-swx11-dev
9+
RUN apt-get install -y xorg-dev
10+
RUN apt-get install -y libxtst-dev libpng++-dev
11+
# Event:
12+
RUN apt-get install -y xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
13+
RUN apt-get install -y libxkbcommon-dev
14+
# Clipboard:
15+
RUN apt-get install -y xsel
16+
RUN apt-get install -y xclip
17+
RUN go get -u github.com/go-vgo/robotgo

circle.yml

-30
This file was deleted.

robotgo.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import (
6363
)
6464

6565
const (
66-
version string = "v0.46.6.435, Pyrenees Mountains!"
66+
version string = "v0.46.6.437, Pyrenees Mountains!"
6767
)
6868

6969
type (

0 commit comments

Comments
 (0)