forked from opencontainers/umoci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (29 loc) · 940 Bytes
/
.travis.yml
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
language: go
# `make ci` uses Docker.
sudo: required
services:
- docker
go:
- 1.x
before_install:
- sudo sh -c "apt-get -qq update && apt-get install -y gcc-multilib"
- GO111MODULE=off go get -u github.com/cpuguy83/go-md2man
- GO111MODULE=off go get -u github.com/vbatts/git-validation
- GO111MODULE=off go get -u golang.org/x/lint/golint
- GO111MODULE=off go get -u github.com/securego/gosec/cmd/gosec
env:
- DOCKER_IMAGE="opensuse/leap:latest"
- DOCKER_IMAGE="centos:latest"
- DOCKER_IMAGE="debian:latest"
- DOCKER_IMAGE="ubuntu:latest"
- DOCKER_IMAGE="fedora:latest"
matrix:
fast_finish: true
allow_failures:
- env: DOCKER_IMAGE="fedora:latest"
notifications:
email: false
script:
- chmod a+rwx . # Necessary to make Travis co-operate with Docker.
- make GO111MODULE=auto GOARCH=386 local-validate-build # Make sure 32-bit builds work.
- make GO111MODULE=auto DOCKER_IMAGE=$DOCKER_IMAGE ci