Files
homeassistant-core/script/test_docker
T

14 lines
298 B
Bash
Raw Normal View History

#!/bin/sh
# Executes the tests with tox in a docker container.
# Stop on errors
2016-07-31 15:48:41 -05:00
set -e
cd "$(dirname "$0")/.."
docker build -t home-assistant-test -f virtualization/Docker/Dockerfile.dev .
docker run --rm \
-v `pwd`/.tox/:/usr/src/app/.tox/ \
-t -i home-assistant-test \
tox -e py35