compose/script/test

16 lines
297 B
Bash
Executable File

#!/bin/bash
# See CONTRIBUTING.md for usage.
set -ex
TAG="docker-compose:$(git rev-parse --short HEAD)"
rm -rf coverage-html
# Create the host directory so it's owned by $USER
mkdir -p coverage-html
docker build -t "$TAG" .
GIT_VOLUME="--volume=$(pwd)/.git:/code/.git"
. script/test-versions