mirror of
https://github.com/robotn/gohook.git
synced 2024-11-14 20:26:39 +08:00
19 lines
642 B
YAML
19 lines
642 B
YAML
|
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: `
|
||
|
# override:
|
||
|
# './...' is a relative pattern which means all subdirectories
|
||
|
# - run: go get -u golang.org/x/sys/unix
|
||
|
- 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)
|