diff --git a/.appveyor.yml b/.appveyor.yml index 012a2c2f1..6082f9591 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -60,6 +60,7 @@ test_script: only_commits: files: - src/**/* - - include/* - deps/**/* + - include/* + - OpenCL/inc_* - Makefile diff --git a/.travis.yml b/.travis.yml index 572c945b4..975484923 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ compiler: - 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)' + 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