moto/travis_moto_server.sh
2021-08-12 16:55:53 +01:00

8 lines
154 B
Bash
Executable File

#!/usr/bin/env bash
export MOTO_PORT=${MOTO_PORT:-5000}
set -e
pip install $(ls /moto/dist/moto*.gz)[server,all]
moto_server -H 0.0.0.0 -p ${MOTO_PORT}