aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/.travis.yml
blob: 711ea9f8ded14540fac07e0358884e0087f81a0e (plain) (tree)
1
2
3
4
5
6
7
8
9
10

            
                 
 





                                     
                          


                                      
                    










                                                                                                    
os: linux
dist: bionic
language: minimal

jobs:
  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