Travis: split build and test into separate scripts.
[jackhill/mal.git] / tests / docker-run.sh
1 #!/bin/bash
2
3 IMAGE_NAME=${IMAGE_NAME:-mal-test-ubuntu-utopic}
4 GIT_TOP=$(git rev-parse --show-toplevel)
5
6 docker run -it --rm -u ${EUID} \
7 --volume=${GIT_TOP}:/mal \
8 ${IMAGE_NAME} \
9 "${@}"