moto/travis_moto_server.sh
Sławek Ehlert 6c73def64a Use extras when running the test server
Make sure that `travis_moto_server.sh` script
actually installs `all` and `server` extras.
2020-09-03 09:26:19 +01:00

9 lines
304 B
Bash
Executable File

#!/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