Skip to content

Commit

Permalink
Enable Cirrus validation tests
Browse files Browse the repository at this point in the history
I failed trying to wire golangci-lint into Travis.  Most projects under
the github.com/containers umbrella are already using Cirrus CI, so break
out the validation steps into a Cirrus golang:1.13 container and be done
fighting Travis and how it's being used.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
  • Loading branch information
vrothberg committed Dec 4, 2019
1 parent d2debd8 commit 9439db4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
container:
image: golang:1.13

env:
GOPROXY: https://proxy.golang.org

validate_task:
validate_script:
- apt-get update -qq
- apt-get install -qq -y libgpgme-dev libdevmapper-dev btrfs-tools libbtrfs-dev
- make tools
- make .gitvalidation
- make validate
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
run:
concurrency: 6
deadline: 5m

0 comments on commit 9439db4

Please sign in to comment.