Skip to content

Commit cb94ffa

Browse files
authored
Merge pull request #1796 from drwetter/no_code_update3.0
Trying to save resources for Travis/CI (3.0)
2 parents dc08a12 + 98d1bd6 commit cb94ffa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ addons:
66
packages:
77
- dnsutils
88
- jsonlint
9+
before_install:
10+
- if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.pem)|(.pdf)|(.html)|^(LICENSE)|^(docs)|^(utils)|^(bin)|(Dockerfile)'
11+
then
12+
echo "no code was updated, not running the CI."
13+
exit
14+
fi
915
install:
1016
- cpanm --notest Test::More
1117
- cpanm --notest Data::Dumper

0 commit comments

Comments
 (0)