Skip to content

Commit

Permalink
let's try matrix build, unfortunately this needs drone 0.8 format :-/
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-nyt committed Mar 14, 2020
1 parent 5a8ef1a commit 1261aac
Show file tree
Hide file tree
Showing 4 changed files with 274 additions and 18 deletions.
20 changes: 12 additions & 8 deletions .drone.yml
@@ -1,15 +1,10 @@
kind: pipeline
name: default
type: docker

workspace:
base: /go
path: src/github.com/nytimes/gizmo


steps:
- name: tests
image: "golang:1.14"
pipeline:
build:
image: golang:${TAG}
pull: always
environment:
GO111MODULE: on
Expand All @@ -22,3 +17,12 @@ steps:
- pull_request
- push

matrix:
TAG:
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- latest
18 changes: 9 additions & 9 deletions examples/go.mod
Expand Up @@ -3,22 +3,22 @@ module github.com/NYTimes/gizmo/examples
replace github.com/NYTimes/gizmo => ../

require (
cloud.google.com/go v0.38.0
cloud.google.com/go v0.54.0
github.com/NYTimes/gizmo v1.2.1
github.com/NYTimes/gziphandler v1.1.0
github.com/NYTimes/logrotate v1.0.0
github.com/NYTimes/sqliface v0.0.0-20180310195202-f8e6c8b78d37
github.com/go-kit/kit v0.9.0
github.com/go-sql-driver/mysql v1.4.1
github.com/golang/protobuf v1.3.2
github.com/go-sql-driver/mysql v1.5.0
github.com/golang/protobuf v1.3.5
github.com/gorilla/context v1.1.1
github.com/gorilla/websocket v1.4.0
github.com/kelseyhightower/envconfig v1.3.0
github.com/pkg/errors v0.8.1
github.com/sirupsen/logrus v1.3.0
golang.org/x/net v0.0.0-20190628185345-da137c7871d7
google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610
google.golang.org/grpc v1.22.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.4.2
golang.org/x/net v0.0.0-20200301022130-244492dfa37a
google.golang.org/genproto v0.0.0-20200312145019-da6875a35672
google.golang.org/grpc v1.28.0
)

go 1.13

0 comments on commit 1261aac

Please sign in to comment.