From 697ff3e3c9782b0ab6c505ccc7232deee5f0a55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Wed, 29 Jun 2016 01:18:05 +0200 Subject: [PATCH] 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 --- test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test.sh b/test.sh index 67d0e34..24335d7 100755 --- a/test.sh +++ b/test.sh @@ -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##*\/}