Lower docker package in Travis

This commit is contained in:
Kamil Mankowski (kam193) 2020-08-19 23:48:07 +02:00
commit 6ec7c4faa4
No known key found for this signature in database
GPG key ID: B8F7F73056C78DF9
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,9 @@
#!/usr/bin/env bash
set -e
pip install flask
# 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 /moto/dist/moto*.gz
moto_server -H 0.0.0.0 -p 5000