From 378096b667d67ef1a7aa0c34813d28ce40402463 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 15 Nov 2020 09:57:23 +0200 Subject: [PATCH] Trying to return support for legacy Mac OS X version. [skip appveyor] --- .travis.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f127c76aa..f9e8ebd00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,14 @@ jobs: compiler: clang env: - DEPLOY=true + - LEGACY=false osx_image: xcode11 + - os: osx + compiler: clang + env: + - DEPLOY=true + - LEGACY=true + osx_image: xcode7.3 before_install: - | if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then @@ -51,7 +58,12 @@ before_install: sudo dpkg -i ccache_3.3.4-1_amd64.deb; else brew update > /dev/null; - brew install qt5; + if [[ "$LEGACY" = false ]]; then + brew install qt5; + else + unset SSL_CERT_FILE; + brew install https://gist.githubusercontent.com/dismine/c3ac01de38e12edcf22d9e05791adf82/raw/8e2743e6382fefaabfa37da00633ff801477b53c/qt5.rb; + fi chmod -R 755 /usr/local/opt/qt5/* fi before_script: @@ -102,7 +114,11 @@ before_deploy: - | if [[ "$DEPLOY" == "true" ]]; then ../scripts/macfixqtdylibrpath.py $TRAVIS_BUILD_DIR/build/src/app/valentina/bin/Valentina.app; - tar -C $TRAVIS_BUILD_DIR/build/src/app/valentina/bin --exclude "*.DS_Store" -cvzf valentina-osx-${TRAVIS_COMMIT}.tar.gz Valentina.app/; + if [[ "$LEGACY" = false ]]; then + tar -C $TRAVIS_BUILD_DIR/build/src/app/valentina/bin --exclude "*.DS_Store" -cvzf valentina-osx-${TRAVIS_COMMIT}.tar.gz Valentina.app/; + else + tar -C $TRAVIS_BUILD_DIR/build/src/app/valentina/bin --exclude "*.DS_Store" -cvzf valentina-osx-${TRAVIS_COMMIT}-legacy.tar.gz Valentina.app/; + fi fi deploy: provider: bintray