Skip deleted Dockerfiles from test suite (#157)

This fixes the build process which is currently failing due to the rename
of `visualstudio/Dockerfile' to `vscode/Dockerfile'.

See https://travis-ci.org/jfrazelle/dockerfiles/builds/140218033
This commit is contained in:
Marc Cornellà 2016-06-29 01:18:05 +02:00 committed by Jess Frazelle
parent 2775f5cb90
commit 697ff3e3c9

View File

@ -28,6 +28,10 @@ unset IFS
# build the changed dockerfiles
for f in "${files[@]}"; do
if ! [[ -e "$f" ]]; then
continue
fi
image=${f%Dockerfile}
base=${image%%\/*}
suite=${image##*\/}