From 97027afd6d32227c49f8a234c190bddf80d82553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondrej=20F=C3=BChrer?= Date: Sat, 5 Sep 2020 21:48:48 +0200 Subject: [PATCH] Travis: Checking that pin prevents updating --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9abaf8d..07c1fa5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,5 +22,8 @@ script: - brew cu pin java - brew cu pinned - brew cu -y --no-brew-update + - java --version > java.test.out && cat java.test.out | grep -q 13. + - rm -f java.test.out - brew cu unpin java - brew cu -y --no-brew-update + - java --version > test && cat test | grep -q 14.