Trying to save resources for poor Travis/CI ;-)

See 3b38a5dea3
This commit is contained in:
Dirk Wetter 2020-11-27 18:10:43 +01:00
parent 19494a6d8b
commit 1cd5510955
1 changed files with 7 additions and 0 deletions

View File

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