Use extras when running the test server

Make sure that `travis_moto_server.sh` script
actually installs `all` and `server` extras.
This commit is contained in:
Sławek Ehlert 2020-01-07 13:25:20 +01:00 committed by David Szotten
parent 49b12ab7f5
commit 6c73def64a

View File

@ -1,9 +1,8 @@
#!/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
pip install $(ls /moto/dist/moto*.gz)[server,all]
moto_server -H 0.0.0.0 -p 5000