Various e2e test bugfixes. The test runner now compiles fission bundle and cli, installs helm, installs kubectl, and uses helm to install fission, run all scripts under test/tests/, and uninstalls fission. The change also removes go tip tests -- I think we can get by without them, but we'll add them back if the next go version update brings some surprises.
27 lines
407 B
YAML
27 lines
407 B
YAML
sudo: required
|
|
dist: trusty
|
|
language: go
|
|
|
|
go:
|
|
- 1.8
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/google-cloud-sdk/
|
|
- $HOME/k8scli
|
|
|
|
install:
|
|
- go get github.com/Masterminds/glide
|
|
- hack/travis-kube-setup.sh
|
|
|
|
env:
|
|
- KUBECONFIG=${HOME}/.kube/config PATH=$HOME/k8scli:${PATH}
|
|
|
|
script:
|
|
- cd ${TRAVIS_BUILD_DIR}
|
|
- glide install
|
|
- ./fission-bundle/build.sh
|
|
- hack/verify-gofmt.sh
|
|
- hack/runtests.sh
|
|
- test/build_and_test.sh
|