blob: 54118de2e159c3ed36efc5f92ae5de067a35b349 (
plain) (
blame)
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
|
os: linux
dist: bionic
language: minimal
jobs:
fast_finish: true
include:
- name: Test locally
language: python
python: '3.6'
script: ./.travis/local/test.sh
- name: Test in Docker
services:
- docker
script: ./.travis/docker/test.sh
- stage: publish
name: 'Docker: build & publish multi-arch images'
if: branch = master
addons:
apt:
# Newer docker for BuildKit/buildx support:
packages:
- docker-ce
sources:
- key_url: 'https://download.docker.com/linux/ubuntu/gpg'
sourceline: 'deb https://download.docker.com/linux/ubuntu "$(lsb_release -cs)" stable'
script: make login && make buildx/create && make buildx/push
|