File: .travis.yml

package info (click to toggle)
umoci 0.4.5+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,316 kB
  • sloc: sh: 366; makefile: 135; awk: 17
file content (32 lines) | stat: -rw-r--r-- 678 bytes parent folder | download
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
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"

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=off GOARCH=386 local-validate-build # Make sure 32-bit builds work.
  - make DOCKER_IMAGE=$DOCKER_IMAGE ci