blob: 8b3490d18b272c10e1c318210124fa1bcc9862c3 (
plain) (
tree)
|
|
os: linux
dist: bionic
jobs:
include:
- name: Test locally
language: python
python: '3.6'
script: ./.travis/local/test.sh
- name: Test in Docker
language: minimal
services:
- docker
script: ./.travis/docker/test.sh
- stage: publish
language: minimal
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
|