-
Notifications
You must be signed in to change notification settings - Fork 4
/
circle.yml
24 lines (23 loc) · 747 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: 2
jobs:
build:
docker:
- image: golang:1.23.0
working_directory: /gopath/src/github.com/vcaesar/gcv
steps:
- checkout
- run: apt update
- run:
apt -y install gcc libc6-dev
libx11-dev xorg-dev libxtst-dev
xsel xclip
libopencv-dev
# libpng++-dev
# xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev
- run: apt -y install xvfb
# specify any bash command here prefixed with `run: `
- run: go get -v -t -d ./...
- run: xvfb-run go test -v ./...
# codecov.io
- run: go test -v -covermode=count -coverprofile=coverage.out
- run: bash <(curl -s https://codecov.io/bash)