Skip to content

Commit 2627d9d

Browse files
authored
Merge pull request #1825 from drwetter/fix_travis_3.0
Travis CI didn't run. Trying to fix it (3.0)
2 parents 4b800b0 + 4ee936d commit 2627d9d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ addons:
77
- dnsutils
88
- jsonlint
99
before_install:
10-
- if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.pem)|(.pdf)|(.html)|^(LICENSE)|^(docs)|^(utils)|^(bin)|(Dockerfile)'
10+
- |
11+
echo "Checking if a CI run is needed post commit: ${TRAVIS_COMMIT_RANGE}"
12+
if ! git diff --name-only ${TRAVIS_COMMIT_RANGE} | grep -qvE '(\.md$)|(\.pem$)|(\.pdf$)|(\.html$)|^(LICENSE)|^(docs)|^(utils)|^(bin)|(Dockerfile)'
1113
then
12-
echo "no code was updated, not running the CI."
14+
echo "No code was updated, not running the CI."
1315
exit
14-
fi
16+
fi
1517
install:
1618
- cpanm --notest Test::More
1719
- cpanm --notest Data::Dumper

0 commit comments

Comments
 (0)