parent
17b172229d
commit
f91c0251be
24
.travis.yml
24
.travis.yml
|
@ -1,24 +0,0 @@
|
||||||
language: perl
|
|
||||||
dist: bionic
|
|
||||||
perl:
|
|
||||||
- "5.26"
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- dnsutils
|
|
||||||
- jsonlint
|
|
||||||
before_install:
|
|
||||||
- |
|
|
||||||
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."
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
install:
|
|
||||||
- cpanm --notest Test::More
|
|
||||||
- cpanm --notest Data::Dumper
|
|
||||||
- cpanm --notest JSON
|
|
||||||
# - cpanm JSON::Validator
|
|
||||||
script:
|
|
||||||
- prove -v
|
|
Loading…
Reference in New Issue