Merge pull request #1795 from drwetter/no_code_update

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

View File

@ -7,6 +7,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