mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-21 15:48:08 +00:00
Skipping Travis/Appveyor build for non-code changes
This commit is contained in:
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…
Reference in New Issue
Block a user