magnetico/.travis.yml
2019-09-18 01:21:50 +01:00

34 lines
549 B
YAML

# https://docs.travis-ci.com/user/reference/overview/#virtualisation-environment-vs-operating-system
sudo: false
dist: xenial
language: go
go:
- "1.12"
# Only clone the most recent commit.
git:
depth: 1
before_install:
# Dump environment variables
- printenv
install:
- "go get -u -v github.com/kevinburke/go-bindata/..."
before_script:
- "make magneticod"
- "make magneticow"
- "make image"
script:
# The Unit Tests
- "make test"
# Static Analysis (vet)
- "make vet"
# Check formatting
- "make check-formatting"