aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/.travis.yml
blob: 54118de2e159c3ed36efc5f92ae5de067a35b349 (plain) (tree)
1
2
3
4
5
6
7

            
                 
 
     

                   




                                     
                          


                                      
                    










                                                                                                    
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