| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- language: go
- os: linux
- dist: bionic
- # The first element in this list will be the default for the non-matrix jobs,
- # so you usually want the latest version first
- go:
- - 1.14.x
- - 1.13.x
- - master
- env:
- global:
- - GO111MODULE=on
- before_install:
- - go get -t -v ./...
- - go get -t -v github.com/stretchr/testify/...
- # This is the script for the matrix tests (ran with each version of go)
- script: |
- ./.travis/setup-integ.sh
- ./.travis/tests.sh
- after_success:
- - bash <(curl -s https://codecov.io/bash)
- # These are individual jobs unrelated to the matrix tests
- jobs:
- include:
- - name: Generator/main entrypoint drift
- script: ./.travis/check-generator-main.sh
- - name: license headers
- before_install: go get -u github.com/u-root/u-root/tools/checklicenses
- script: checklicenses -c .travis/checklicenses_config.json
- - name: golangci-lint
- before_install: go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.27.0
- script: golangci-lint run
|