
- Lint build runs scripts in ci directory. - Test build runs go test kkn.fi/vanity - Test build is only run if Lint succeeds - Run all stages (Lint & Test) with Go 1.9 git-svn-id: file:///srv/svn/repo/toyohime/trunk@73 922d331f-388e-da47-97a9-ad700dc0b8b9
15 lines
335 B
YAML
15 lines
335 B
YAML
dist: trusty
|
|
language: go
|
|
go_import_path: kkn.fi/vanity
|
|
go: 1.9.x
|
|
jobs:
|
|
include:
|
|
- stage: lint
|
|
script:
|
|
- ./ci/validate-gofmt.sh
|
|
- go get -u github.com/golang/lint/golint
|
|
- ./ci/lint.sh
|
|
- stage: test
|
|
script: go test kkn.fi/vanity
|
|
install: skip
|