Merge pull request #1795 from drwetter/no_code_update
Trying to save resources for poor Travis/CI ;-)
This commit is contained in:
commit
ea6d99fe93
|
@ -7,6 +7,12 @@ addons:
|
|||
packages:
|
||||
- dnsutils
|
||||
- jsonlint
|
||||
before_install:
|
||||
- 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."
|
||||
exit
|
||||
fi
|
||||
install:
|
||||
- cpanm --notest Test::More
|
||||
- cpanm --notest Data::Dumper
|
||||
|
|
Loading…
Reference in New Issue