2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2026-02-05 14:45:17 +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

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