89b2eb7f64
Three optimizations: - move example testing logic into a bash script to save travis specific commands; - use kubernetes release package (about 20MB) instead of git repo (about 800 MB at the moment); - detect whether a PR contains changes to examples and skip examples testing if not. Closes: #13140
23 lines
400 B
YAML
23 lines
400 B
YAML
env:
|
|
global:
|
|
- KUBE_VERSION: 1.13
|
|
language: go
|
|
go:
|
|
- 1.11.5
|
|
|
|
jobs:
|
|
include:
|
|
- name: "Testing examples"
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/go-build
|
|
install:
|
|
- bash scripts/test_examples.sh install
|
|
script:
|
|
- bash scripts/test_examples.sh run
|
|
- name: "Hugo build"
|
|
install:
|
|
- make travis-hugo-build
|
|
script:
|
|
- hugo
|