dist: trusty
sudo: required
language: go

go_import_path: github.com/ligato/vpp-agent

go:
  - 1.9.x

cache:
  directories:
    - $HOME/build-cache

before_install:
  - go get -v github.com/golang/lint/golint
  - go get github.com/mattn/goveralls
  - sudo ./scripts/build-vpp.sh
  - sudo apt-get update
  - sudo apt-get install npm && npm install -g markdown-link-check

script:
  - make check_links || true
  - make lint
  - make
  - make test-cover
  - sudo make test-examples

after_success:
  - goveralls -coverprofile=/tmp/coverage.out -service=travis-ci

dist: trusty
sudo: required
language: go

go_import_path: github.com/ligato/vpp-agent
git:
    depth: 5

go:
  - 1.9.x

cache:
  directories:
    - $HOME/build-cache

before_install:
  - go get -v github.com/golang/lint/golint
  - go get github.com/mattn/goveralls
  - sudo ./scripts/build-vpp.sh
  - sudo apt-get update
  - sudo apt-get install npm && npm install -g markdown-link-check

script:
  - make check_links || true
  - make lint
  - make
  - make test-cover
  - sudo make test-examples

after_success:
  - goveralls -coverprofile=/tmp/coverage.out -service=travis-ci

Adjust cloned depth to 5 (default 50) to save some build time
Adjust cloned depth to 5 (default 50) to save some build time

