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:
- make go-dependencies
script:
- make verify
- make travis-prepare
- make build e2e
jobs:
include:
- stage: unit
name: "Unit Tests"
script:
- make verify
- stage: e2e
name: "End-to-End Tests"
script:
- make travis-prepare
- make build e2e
cache:
directories:
- vendor
- vendor
- /home/travis/.minikube/