Travis CI didn't run. Trying to fix it (3.1dev)

This commit is contained in:
Dirk 2021-01-13 23:15:42 +01:00
parent 477bd13899
commit 9c9207ae89

View File

@ -8,11 +8,13 @@ addons:
- dnsutils
- jsonlint
before_install:
- if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.pem)|(.pdf)|(.html)|^(LICENSE)|^(docs)|^(utils)|^(bin)|(Dockerfile)'
- |
echo "Checking if a CI run is needed post commit: ${TRAVIS_COMMIT_RANGE}"
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."
echo "No code was updated, not running the CI."
exit
fi
fi
install:
- cpanm --notest Test::More
- cpanm --notest Data::Dumper