From 39f2ad7b093e3b57ccdac4f52903322856cce641 Mon Sep 17 00:00:00 2001 From: Julien Vehent Date: Wed, 12 Dec 2018 07:05:32 -0500 Subject: [PATCH] Add tls1.3 test to travisci --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3386d91..fe075cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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