dist: bionic
language: python
python:
  - '2.7'
  - '3.4'
  - '3.5'
  - '3.6'
  - '3.7'
sudo: false
services:
  - docker
before_install:
  - sudo apt-get update
  - sudo apt-get install -y libffi-dev libxml2-dev
install:
  - pip install tox-travis
  - pip install -r will/requirements/dev.txt
script:
  - tox
  - export CTAG="-$TRAVIS_COMMIT"
# - "fab docker_build"
# deploy:
#   skip_cleanup: true
#   provider: script
#   script: "fab docker_deploy"
#   on:
#     branch: master
env:
  matrix:
    secure: SWBr2Ih6+vT0iX5CxqPT8ICmtFUcIk7MRfh21DnsGKpumz60mgRPnb+aMxagSDWrF0btGyI3vfD8nYEv6Vv+WDDCbeJCG3xExsIusiflaM1Vqo1OcUGlO55jQm1WtNub7SmiMSH8EY5GFFNfFn7CmSmU1xaM0p5q8Y0OTbZpku8=

dist: xenial
language: python
python:
  - '2.7'
  - '3.4'
  - '3.5'
  - '3.6'
  - '3.7'
sudo: false
services:
  - docker
before_install:
  - sudo apt-get update
  - sudo apt-get install -y libffi-dev libxml2-dev
install:
  - pip install tox-travis
  - pip install -r will/requirements/dev.txt
script:
  - tox
  - export CTAG="-$TRAVIS_COMMIT"
# - "fab docker_build"
# deploy:
#   skip_cleanup: true
#   provider: script
#   script: "fab docker_deploy"
#   on:
#     branch: master
env:
  matrix:
    secure: SWBr2Ih6+vT0iX5CxqPT8ICmtFUcIk7MRfh21DnsGKpumz60mgRPnb+aMxagSDWrF0btGyI3vfD8nYEv6Vv+WDDCbeJCG3xExsIusiflaM1Vqo1OcUGlO55jQm1WtNub7SmiMSH8EY5GFFNfFn7CmSmU1xaM0p5q8Y0OTbZpku8=

Move back to xenial dist, as bionic dist does not cannnot download py34 image from archive
Move back to xenial dist, as bionic dist does not cannnot download py34 image from archive
