podman/.travis.yml
Álex González 649e4f07a3 Run gofmt and lint just for one Go version
Also, "make docs" is part of "make all" so the step was being repeated.

Signed-off-by: Álex González <agonzalezro@gmail.com>

Closes: #449
Approved by: mheon
2018-03-05 18:16:25 +00:00

48 lines
955 B
YAML

language: go
sudo: required
services:
- docker
before_install:
- sudo apt-get -qq update
- sudo apt-get -qq install btrfs-tools libdevmapper-dev libgpgme11-dev libapparmor-dev libseccomp-dev
- sudo apt-get -qq install autoconf automake bison e2fslibs-dev libfuse-dev libtool liblzma-dev gettext
install:
- make install.tools
before_script:
- export PATH=$HOME/gopath/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
env:
global:
- TRAVIS=1
jobs:
include:
- stage: Build and Verify
script:
- make gofmt
- make lint
go: 1.9.x
- script:
- make testunit
- make
go: 1.8.x
- stage: Build and Verify
script:
- make testunit
- make
go: 1.9.x
- stage: Integration Test
script:
- make all
- make integration
go: 1.8.x
notifications:
irc: "chat.freenode.net#podman"