From 4ee936dc52b2418b018aab14135551bae8702280 Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 13 Jan 2021 22:35:34 +0100 Subject: [PATCH] Travis CI didn't run. Trying to fix it --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 22c36ae..0b35f1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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