Skip to content

Commit

Permalink
Run run CI in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
tdmanv committed Aug 15, 2019
1 parent f6ca53a commit fe36193
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
sudo: required

services:
- docker

language: go

go:
- "1.12.x"
# Selecting C as the language keeps the container to a minimum footprint. All
# go-specifc code is run in build container.
language: c

branches:
only:
- master

# This moves Kubernetes specific config files.
env:
- CHANGE_MINIKUBE_NONE_USER=true GO111MODULE=on

cache:
directories:
- .go/pkg/mod/cache
- .go/cache

script:
- make docs
- make go-mod-download
- make build
- make start-kind
- make test

after_script:
- make stop-kind
jobs:
include:
- stage: test
script:
- make docs
- stage: test
before_script:
- make start-kind
script:
- make go-mod-download
- make build
- make test
after_script:
- make stop-kind

0 comments on commit fe36193

Please sign in to comment.