mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
26 lines
465 B
YAML
26 lines
465 B
YAML
|
language: go
|
||
|
go:
|
||
|
- "1.10.x"
|
||
|
- "1.9.x"
|
||
|
|
||
|
sudo: required
|
||
|
|
||
|
services:
|
||
|
- docker
|
||
|
|
||
|
before_install:
|
||
|
- make install.tools
|
||
|
- docker pull vbatts/pandoc
|
||
|
- go get -d ./schema/...
|
||
|
|
||
|
install: true
|
||
|
|
||
|
script:
|
||
|
- env | grep TRAVIS_
|
||
|
- make .govet
|
||
|
- make .golint
|
||
|
- echo "${TRAVIS_COMMIT_RANGE} -> ${TRAVIS_COMMIT_RANGE/.../..} (travis-ci/travis-ci#4596)"
|
||
|
- TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make .gitvalidation
|
||
|
- make docs
|
||
|
- make -C schema test
|