File: .travis.yml

package info (click to toggle)
golang-github-opencontainers-selinux 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 204 kB
  • sloc: makefile: 18
file content (19 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: go
go:
  - 1.10.x
  - 1.11.x
  - tip
  - master

env:
  global:
    - BUILDTAGS="selinux"

before_install:
  - go get -u golang.org/x/lint/golint
  - go get -u github.com/vbatts/git-validation

script:
  - git-validation -run DCO,short-subject -v -range ${TRAVIS_COMMIT_RANGE}
  - GOOS=linux make BUILDTAGS="${BUILDTAGS}" lint test
  - make BUILDTAGS="" lint test