Trying to save resources for Travis/CI (3.0)

See 3b38a5dea3
This commit is contained in:
Dirk 2020-11-28 10:12:43 +01:00
parent dc08a120ba
commit 98d1bd64bc

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