mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-18 13:22:17 +00:00
47 lines
963 B
YAML
47 lines
963 B
YAML
os:
|
|
- linux
|
|
- osx
|
|
# TODO: Uncomment when tests running on Windows.
|
|
# - windows
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- tree
|
|
homebrew:
|
|
packages:
|
|
- tree
|
|
|
|
# Only clone the most recent commit.
|
|
git:
|
|
depth: 1
|
|
|
|
language: go
|
|
|
|
go:
|
|
- 1.12
|
|
|
|
go_import_path: sigs.k8s.io/kustomize
|
|
|
|
env:
|
|
- GOLANGCI_RELEASE="v1.12"
|
|
|
|
before_install:
|
|
- source ./bin/consider-early-travis-exit.sh
|
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin ${GOLANGCI_RELEASE}
|
|
- go get -u github.com/monopole/mdrip
|
|
# The following would install Helm if needed for some reason.
|
|
# - wget https://storage.googleapis.com/kubernetes-helm/helm-v2.13.1-linux-amd64.tar.gz
|
|
# - tar -xvzf helm-v2.13.1-linux-amd64.tar.gz
|
|
# - sudo mv linux-amd64/helm /usr/local/bin/helm
|
|
|
|
# Skip the install process; let pre-commit.sh do it.
|
|
install: true
|
|
|
|
script:
|
|
- ./bin/pre-commit.sh
|
|
|
|
# TBD. Suppressing for now.
|
|
notifications:
|
|
email: false
|