toyohime/.travis.yml
kare.nuorteva 86974d94cd Use Travis build stages for lint and test builds
- 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
2018-01-11 16:11:42 +00:00

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