mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-26 10:17:53 +00:00
Instead of using the main module we should vendor the test tools in a different directory. That way we do not add extra dependencies to the main module which can be problemetic for packages or other users. This is already done in buildah so this makes us more consitent. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
37 lines
645 B
YAML
37 lines
645 B
YAML
language: go
|
|
|
|
go_import_path: github.com/vbatts/git-validation
|
|
|
|
go:
|
|
- "tip"
|
|
- "1.x"
|
|
- "1.11.x"
|
|
- "1.10.x"
|
|
- "1.9.x"
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
sudo: false
|
|
|
|
install: true
|
|
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|
|
|
|
before_script:
|
|
- env
|
|
|
|
before_install:
|
|
- go get ./...
|
|
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then go get -u golang.org/x/lint/golint ; fi
|
|
|
|
script:
|
|
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then golint -set_exit_status ./... ; fi
|
|
- go vet -x ./...
|
|
- go build .
|
|
- go test -v ./...
|
|
- ./git-validation -run DCO,short-subject,dangling-whitespace -v
|