Speeds up lint and test in docker by keeping the cache between invocations. (#5177)
* Add a volume to store the tox cache on the host. This gives quite some speed boost when running lint_docker and test_docker. * Only map .tox directory for cache.
This commit is contained in:
parent
74aa8194d7
commit
cb85128304
4 changed files with 18 additions and 4 deletions
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
# Excutes the tests with tox.
|
||||
# Executes the tests with tox.
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
tox -e py34
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue