mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-14 03:39:09 +00:00
Merge pull request #2078 from matrix/travis_appveyor_skip_build_1
Skipping Travis/Appveyor build for non-code changes
This commit is contained in:
commit
e65b6fb4e1
@ -56,3 +56,11 @@ test_script:
|
||||
}
|
||||
|
||||
& $env:BASH -lc "cd '$env:APPVEYOR_BUILD_FOLDER' && ./hashcat.exe -m 0 --show *ple0.hash"
|
||||
|
||||
only_commits:
|
||||
files:
|
||||
- src/**/*
|
||||
- deps/**/*
|
||||
- include/*
|
||||
- OpenCL/inc_*
|
||||
- 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)|(.hcmask)'
|
||||
then
|
||||
echo "No code changes detected, skip the CI build."
|
||||
exit
|
||||
fi
|
||||
script:
|
||||
- make
|
||||
|
Loading…
Reference in New Issue
Block a user