Merge pull request #1796 from drwetter/no_code_update3.0

Trying to save resources for Travis/CI (3.0)
This commit is contained in:
Dirk Wetter 2020-11-28 10:15:13 +01:00 committed by GitHub
commit cb94ffaa13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,12 @@ addons:
packages:
- dnsutils
- jsonlint
before_install:
- if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.pem)|(.pdf)|(.html)|^(LICENSE)|^(docs)|^(utils)|^(bin)|(Dockerfile)'
then
echo "no code was updated, not running the CI."
exit
fi
install:
- cpanm --notest Test::More
- cpanm --notest Data::Dumper