Add stages to Travis CI build

This commit is contained in:
Jakub Al-Khalili 2019-09-11 09:00:52 +02:00
parent 0f9e8ecc9c
commit 414c571947
1 changed files with 13 additions and 5 deletions

View File

@ -21,11 +21,19 @@ matrix:
before_install: before_install:
- make go-dependencies - make go-dependencies
script: jobs:
- make verify include:
- make travis-prepare - stage: unit
- make build e2e name: "Unit Tests"
script:
- make verify
- stage: e2e
name: "End-to-End Tests"
script:
- make travis-prepare
- make build e2e
cache: cache:
directories: directories:
- vendor - vendor
- /home/travis/.minikube/