1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 08:38: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:
Jens Steube 2019-07-02 10:54:24 +02:00 committed by GitHub
commit e65b6fb4e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

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

View File

@ -5,5 +5,12 @@ language: c
compiler: compiler:
- clang - clang
- gcc - 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: script:
- make - make