Skip to content

Commit ea6d99f

Browse files
authored
Merge pull request #1795 from drwetter/no_code_update
Trying to save resources for poor Travis/CI ;-)
2 parents 19494a6 + a780ad6 commit ea6d99f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

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

0 commit comments

Comments
 (0)