2017-02-01 00:45:59 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2017-04-12 23:12:04 +00:00
|
|
|
- 1.7
|
|
|
|
- 1.6.3
|
|
|
|
- 1.5.4
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- make install.tools
|
|
|
|
- docker pull vbatts/pandoc
|
|
|
|
|
|
|
|
install: true
|
|
|
|
|
|
|
|
script:
|
2017-04-12 23:12:04 +00:00
|
|
|
- env | grep TRAVIS_
|
2017-02-01 00:45:59 +00:00
|
|
|
- make .govet
|
|
|
|
- make .golint
|
2017-04-12 23:12:04 +00:00
|
|
|
- echo "${TRAVIS_COMMIT_RANGE} -> ${TRAVIS_COMMIT_RANGE/.../..} (travis-ci/travis-ci#4596)"
|
|
|
|
- TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make .gitvalidation
|
2017-02-01 00:45:59 +00:00
|
|
|
- make docs
|