Skipping Travis/Appveyor build for non-code changes

This commit is contained in:
Gabriele Gristina 2019-06-29 16:24:50 +02:00
parent 079156925a
commit 3a9c22ab75
2 changed files with 14 additions and 0 deletions

View File

@ -56,3 +56,10 @@ test_script:
}
& $env:BASH -lc "cd '$env:APPVEYOR_BUILD_FOLDER' && ./hashcat.exe -m 0 --show *ple0.hash"
only_commits:
files:
- src/**/*
- include/*
- deps/**/*
- Makefile

View File

@ -5,5 +5,12 @@ language: c
compiler:
- clang
- gcc
before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.vc)|(.tc)|(.pm)|(.diff)|(.pl)|(.sh)|(.cmd)|(.hash)|(.cl)|(.yaml)|(.rule)|(.hckmap)|(.charset)|(.yml)|(.editorconfig)|(.gitattributes)|(.gitignore)|(.lock)|(OpenCL/)|(.hcmask)'
then
echo "No code changes detected, skip the CI build."
exit
fi
script:
- make