CI: test on Go 1.12.x, cleanup

We can also use the apt addon to install packages. We also don't need
fast_finish, since we don't use allow_failures anywhere.

Finally, the 'go get' line was pointless, as all dependencies are
vendored, and 'go test' will catch build failures.
This commit is contained in:
Daniel Martí
2019-05-26 21:20:29 +01:00
parent 36c99ce040
commit 664c5cad24
2 changed files with 11 additions and 13 deletions
+1 -2
View File
@@ -52,9 +52,8 @@ func CmdComponentAddUsage(cmd *kingpin.CmdClause, opts *ComponentAddOptions) err
func CmdComponentAdd(o *oreo.Client, globals *jiracli.GlobalOptions, opts *ComponentAddOptions) error {
var err error
component := &jiradata.Component{}
var resp *jiradata.Component
err = jiracli.EditLoop(&opts.CommonOptions, &opts.Component, component, func() error {
resp, err = jira.CreateComponent(o, globals.Endpoint.Value, component)
_, err = jira.CreateComponent(o, globals.Endpoint.Value, component)
return err
})
if err != nil {