Commit 334345d3 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Add Go version matrix

parent 649060ab
...@@ -44,12 +44,29 @@ rspec:ruby2.1: ...@@ -44,12 +44,29 @@ rspec:ruby2.1:
except: except:
- tags - tags
go: .go: &go_definition
# Image taken from gitlab-ce@59f81b4ff8 before_script:
image: "dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.3-golang-1.8-git-2.7-phantomjs-2.1-node-7.1" - apt-get update -qq && apt-get install -y ruby
- ruby -v
script: script:
- go version - go version
- which go - which go
- bin/compile - bin/compile
- support/go-test - support/go-test
- support/go-format check - support/go-format check
go:1.8:
<<: *go_definition
image: golang:1.8
go:1.7:
<<: *go_definition
image: golang:1.7
go:1.6:
<<: *go_definition
image: golang:1.6
go:1.5:
<<: *go_definition
image: golang:1.5
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment