Travis: Use Focal-distribution, so we no longer have to downgrade Docker

This commit is contained in:
Bert Blommers 2020-11-08 14:25:28 +00:00
commit f53a8f723c
2 changed files with 2 additions and 6 deletions

View file

@ -1,8 +1,4 @@
#!/usr/bin/env bash
set -e
# TravisCI on bionic dist uses old version of Docker Engine
# which is incompatibile with newer docker-py
# See https://github.com/docker/docker-py/issues/2639
pip install "docker>=2.5.1,<=4.2.2"
pip install $(ls /moto/dist/moto*.gz)[server,all]
moto_server -H 0.0.0.0 -p 5000