Skip to content

Commit

Permalink
Simplify testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Mar 2, 2017
1 parent 06365fa commit 1550e97
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions build_docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Source this script
docker build -t pyblish/pyblish-qml .
2 changes: 2 additions & 0 deletions test_docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Source this script
docker run --rm -v $(pwd):/pyblish-qml pyblish/pyblish-qml

0 comments on commit 1550e97

Please sign in to comment.