2015-02-23 12:01:37 +01:00
|
|
|
#!/bin/bash
|
|
|
|
# See CONTRIBUTING.md for usage.
|
|
|
|
|
2014-09-30 22:48:01 +02:00
|
|
|
set -ex
|
2015-02-23 12:01:37 +01:00
|
|
|
|
2015-02-25 14:52:55 +01:00
|
|
|
TAG="docker-compose:$(git rev-parse --short HEAD)"
|
2015-02-23 12:01:37 +01:00
|
|
|
|
2015-05-28 20:02:19 +02:00
|
|
|
rm -rf coverage-html
|
2015-08-25 16:57:21 +02:00
|
|
|
# Create the host directory so it's owned by $USER
|
|
|
|
mkdir -p coverage-html
|
2015-05-28 20:02:19 +02:00
|
|
|
|
2015-02-25 14:52:55 +01:00
|
|
|
docker build -t "$TAG" .
|
2015-08-25 16:57:21 +02:00
|
|
|
|
|
|
|
GIT_VOLUME="--volume=$(pwd)/.git:/code/.git"
|
|
|
|
. script/test-versions
|