language: go
go:
  - 1.7

sudo: required

services:
  - docker

before_script:
  - export PATH=$HOME/gopath/bin:$PATH

before_install:
  - docker pull vbatts/pandoc
  - make install.tools
  - go get -u github.com/alecthomas/gometalinter
  - gometalinter --install
  - go get -t -d ./...

install: true

script:
  - env | grep TRAVIS_
  - make .gitvalidation
  - make lint
  - make check-license
  - make test
  - make docs
