diff --git a/README.md b/README.md index 69f864e4..0195f941 100644 --- a/README.md +++ b/README.md @@ -378,8 +378,8 @@ Tests are automatically run at each commit to GitHub via Travis-CI. You can run ```bash $ git clone https://github.com/pyblish/pyblish-qml.git $ cd pyblish-qml -$ docker build -t pyblish/pyblish-qml . -$ docker run --rm -v $(pwd):/pyblish-qml pyblish/pyblish-qml +$ . build_docker.sh # Only needed once +$ . test_docker.sh # Doctest: pyblish_qml.models.Item ... ok # Doctest: pyblish_qml.util.ItemList ... ok # Reset works ... ok diff --git a/build_docker.sh b/build_docker.sh new file mode 100644 index 00000000..5741aead --- /dev/null +++ b/build_docker.sh @@ -0,0 +1,2 @@ +# Source this script +docker build -t pyblish/pyblish-qml . \ No newline at end of file diff --git a/test_docker.sh b/test_docker.sh new file mode 100644 index 00000000..2e1f416b --- /dev/null +++ b/test_docker.sh @@ -0,0 +1,2 @@ +# Source this script +docker run --rm -v $(pwd):/pyblish-qml pyblish/pyblish-qml \ No newline at end of file