Build fission-bundle and fission cli. Install the fission-bundle using the fission-all helm chart. Run all files matching test_*.sh from the tests/ directory. This change doesn't contain any real tests, just the build and test runner scripts. Skips the tests when there are no cluster credentials available.
27 lines
370 B
YAML
27 lines
370 B
YAML
sudo: required
|
|
dist: trusty
|
|
language: go
|
|
|
|
go:
|
|
- 1.8
|
|
- tip
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/google-cloud-sdk/
|
|
|
|
install:
|
|
- go get github.com/Masterminds/glide
|
|
- hack/travis-kube-setup.sh
|
|
|
|
env:
|
|
- KUBECONFIG=${HOME}/.kube/config
|
|
|
|
script:
|
|
- cd ${TRAVIS_BUILD_DIR}
|
|
- glide install
|
|
- ./fission-bundle/build.sh
|
|
- hack/verify-gofmt.sh
|
|
- hack/runtests.sh
|
|
- test/build_and_test.sh
|