testssl.sh/.travis.yml

25 lines
580 B
YAML
Raw Normal View History

2016-06-29 00:02:53 +02:00
language: perl
dist: bionic
2019-08-09 21:08:48 +02:00
perl:
- "5.26"
2016-06-29 00:12:46 +02:00
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)'
2020-11-27 20:24:46 +01:00
then
echo "No code was updated, not running the CI."
2020-11-27 20:24:46 +01:00
exit
fi
2016-06-29 00:09:12 +02:00
install:
- cpanm --notest Test::More
- cpanm --notest Data::Dumper
- cpanm --notest JSON
# - cpanm JSON::Validator
2016-06-29 00:02:53 +02:00
script:
2016-06-29 00:15:32 +02:00
- prove -v