gohook/circle.yml

22 lines
711 B
YAML
Raw Normal View History

2018-09-17 08:17:40 +08:00
version: 2
jobs:
build:
docker:
# using custom image, see .circleci/images/primary/Dockerfile
- image: govgo/robotgoci:1.10.3
working_directory: /gopath/src/github.com/robotn/gohook
steps:
- checkout
# specify any bash command here prefixed with `run: `
2020-02-23 00:11:56 +08:00
- run: apt-get update
- run: apt-get -y install xvfb
2018-09-17 08:17:40 +08:00
# override:
2019-12-13 01:23:25 +08:00
# './...' is a relative pattern which means all subdirectories
2018-09-17 08:17:40 +08:00
# - run: go get -u golang.org/x/sys/unix
- run: go get -v -t -d ./...
2020-02-23 00:11:56 +08:00
- run: xvfb-run go test -v ./...
2018-09-17 08:17:40 +08:00
# codecov.io
# - run: go test -v -covermode=count -coverprofile=coverage.out
2019-12-13 01:23:25 +08:00
# - run: bash <(curl -s https://codecov.io/bash)