add missing OpenCL path

This commit is contained in:
Gabriele Gristina 2019-07-01 17:29:57 +02:00
parent 3a9c22ab75
commit d005095394
2 changed files with 3 additions and 2 deletions

View File

@ -60,6 +60,7 @@ test_script:
only_commits:
files:
- src/**/*
- include/*
- deps/**/*
- include/*
- OpenCL/inc_*
- Makefile

View File

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