forked from LaconicNetwork/kompose
Resolves #576 This PR includes `output-os-template.json` in `nginx-node-redis` example, which is basically output template contains `%URI%` and `%REF%` variables which will be filled while initializing test cases and new will be stored as `/tmp/output-os.json` This will remove the problem of git uri and ref.
32 lines
755 B
YAML
32 lines
755 B
YAML
# we need trusty because test-cmd depends on jq version >= 1.5
|
|
dist : trusty
|
|
sudo: required
|
|
|
|
language: go
|
|
|
|
# make this also work for forks
|
|
go_import_path: github.com/kubernetes-incubator/kompose
|
|
|
|
matrix:
|
|
include:
|
|
- go: 1.6
|
|
# Only build docs once
|
|
env: BUILD_DOCS=yes
|
|
- go: 1.7
|
|
- go: 1.8
|
|
|
|
install:
|
|
- true
|
|
# This is required because sometimes Travis ends up in a detached HEAD state after git clone
|
|
- script/test/cmd/fix_detached_head.sh
|
|
|
|
script:
|
|
- make test
|
|
|
|
after_success:
|
|
# gover collects all .coverprofile files and saves it to one file gover.coverprofile
|
|
- gover
|
|
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
|
|
# sync the docs only if everything else was successful
|
|
- ./script/sync-docs.sh
|