sudo: required

language: python

services:
  - docker

script:
- bash scripts/build-push.sh

sudo: required

language: python

python:
  - "3.6"

install:
  - pip install docker pytest

services:
  - docker

script:
  - bash scripts/test.sh

deploy:
  provider: script
  script: bash scripts/build-push.sh
  on:
    branch: master

Make Travis deploy only on master and run the tests
:rocket: Make Travis deploy only on master and run the tests
