2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 06:13:42 +01:00

Add tls1.3 test to travisci

This commit is contained in:
Julien Vehent 2018-12-12 07:05:32 -05:00
parent e79ce277f7
commit 39f2ad7b09
No known key found for this signature in database
GPG Key ID: A3D652173B763E8F

View File

@ -1,4 +1,11 @@
dist: trusty
dist: xenial
language: python
script:
- ./cipherscan google.com
- |
if [ "$(./cipherscan -j cloudflare.com | jq -r '.ciphersuite[0].protocols[0]')" == "TLS1.3" ]; then
echo successfully detected TLS1.3 on cloudflare.com
else
echo failed to detect TLS1.3 on cloudflare.com
exit 1
fi