From c537f1ba6c27aad63292ce7994da8a79cb0d1147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 30 Jul 2021 08:44:18 +0200 Subject: [PATCH] Use travis-ci homebrew addon instead of manual package installation --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b65901a4..13a86b47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,12 +7,15 @@ os: dist: focal osx_image: xcode12 +addons: + homebrew: + packages: + - qt + before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi install: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qttools5-dev-tools; fi script: