From 269d7c10ebbf3309fe00b4e5cf4bac72217b69d0 Mon Sep 17 00:00:00 2001 From: 5chdn <5chdn@users.noreply.github.com> Date: Mon, 1 Oct 2018 14:44:57 +0100 Subject: [PATCH] ci: ignore snap and docker files for rust check --- scripts/gitlab/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gitlab/test.sh b/scripts/gitlab/test.sh index 2533b9baa..c0f878096 100755 --- a/scripts/gitlab/test.sh +++ b/scripts/gitlab/test.sh @@ -15,7 +15,7 @@ case $CI_COMMIT_REF_NAME in ;; esac -export RUST_FILES_MODIFIED="$(git --no-pager diff --name-only $GIT_COMPARE...$CI_COMMIT_SHA | grep -v -e ^\\. -e ^LICENSE -e ^README.md -e ^CHANGELOG.md -e ^test.sh -e ^scripts/ -e ^docs/ | wc -l | tr -d ' ')" +export RUST_FILES_MODIFIED="$(git --no-pager diff --name-only $GIT_COMPARE...$CI_COMMIT_SHA | grep -v -e ^\\. -e ^LICENSE -e ^README.md -e ^CHANGELOG.md -e ^test.sh -e ^scripts/ -e ^docs/ -e ^docker/ -e ^snap/ | wc -l | tr -d ' ')" echo "RUST_FILES_MODIFIED: $RUST_FILES_MODIFIED" if [ "${RUST_FILES_MODIFIED}" = "0" ]