Skipping Travis/Appveyor build for non-code changes

pull/2078/head
Gabriele Gristina 5 years ago
parent 079156925a
commit 3a9c22ab75

@ -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

@ -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

Loading…
Cancel
Save