aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 58de2614d9938c826f4a8909a0f1da77cfde513c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
        - make testunit
        - make docs
        - make
      go: 1.8.x
    - stage: Build and Verify
      script:
        - make gofmt
        - make lint
        - make testunit
        - make docs
        - make
      go: 1.9.x
    - stage: Integration Test
      script:
        - make all
        - make integration
      go: 1.8.x

irc: "chat.freenode.net#podman"