Run tests with most recent version first

This commit is contained in:
Zach Borboa
2019-04-19 21:57:53 -07:00
parent 401d51ed3a
commit 75ee4ec75e
+3 -3
View File
@@ -1,9 +1,9 @@
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${SCRIPT_DIR}"
for d in "dockerfiles/"* ; do
echo "Running ${d}" &&
pushd "${d}" &&
find . -type d -mindepth 2 -path "*/dockerfiles/*" | sort --reverse | while read directory; do
echo "Running ${directory}" &&
pushd "${directory}" &&
bash "1_build.sh" &&
bash "2_start.sh" &&
bash "3_test.sh" &&