Merge pull request #1825 from drwetter/fix_travis_3.0

Travis CI didn't run. Trying to fix it (3.0)
This commit is contained in:
Dirk Wetter 2021-01-18 09:15:14 +01:00 committed by GitHub
commit 2627d9db13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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