adding stages to test the right go versions

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
Mike Brown 2017-08-15 10:14:37 -05:00
parent f2a228b6f8
commit 7d1b3a5af8

View File

@ -1,6 +1,4 @@
language: go
go:
- 1.8
sudo: required
@ -29,12 +27,28 @@ jobs:
- make .gitvalidation
- make verify
- make binaries
go: 1.8.x
- stage: Build
script:
- make install.tools
- make .gitvalidation
- make verify
- make binaries
go: tip
- stage: Test
script:
- make install.deps
- make test
- make binaries
- make test-cri
go: 1.8.x
- stage: Test
script:
- make install.deps
- make test
- make binaries
- make test-cri
go: tip
after_script:
# Abuse travis to preserve the log.