forked from LaconicNetwork/kompose
This clears up .travis.yaml as well as adds the test dependencies when running `make test` so the user running the tests has the most up-to-date ones available.
30 lines
617 B
YAML
30 lines
617 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
|
|
|
|
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
|