From charlesreid1

No edit summary
Line 32: Line 32:
</pre>
</pre>


==Resources==
=Resources=


Travis CI integration pipeline: https://tutorialedge.net/golang/building-ci-cd-pipeline-go-projects/
Travis CI integration pipeline: https://tutorialedge.net/golang/building-ci-cd-pipeline-go-projects/

Revision as of 01:44, 13 December 2018

Basics

What this page covers

This page covers the setup of a simple Go pipeline on Travis CI:

  • formats new code to meet standards
  • test new additions to the code base (possibly using multiple versions of Go)
  • prevent breaking changes from being merged to master
  • ask for code reviews

before you begin

Before starting, you'll need to set up a Travis account and integrate it with Github. See https://tutorialedge.net/golang/building-ci-cd-pipeline-go-projects/

dot travis yml

---
# .travis.yml
language: go

sudo: false

go:
  - "1.8"
  - "1.9"
  - "1.10"
  - "1.11"
  - tip

Resources

Travis CI integration pipeline: https://tutorialedge.net/golang/building-ci-cd-pipeline-go-projects/

Flags