aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
blob: 8b3490d18b272c10e1c318210124fa1bcc9862c3 (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
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