Drop support for macOS 10.11.

Brew no longer support this version.
This commit is contained in:
Roman Telezhynskyi 2020-09-22 12:34:20 +03:00
parent e3ca47dc10
commit 0e6284b929

View File

@ -28,14 +28,7 @@ jobs:
compiler: clang compiler: clang
env: env:
- DEPLOY=true - DEPLOY=true
- LEGACY=false
osx_image: xcode11 osx_image: xcode11
- os: osx
compiler: clang
env:
- DEPLOY=true
- LEGACY=true
osx_image: xcode8
- stage: sonarcloud - stage: sonarcloud
os: linux os: linux
dist: bionic dist: bionic
@ -75,12 +68,7 @@ before_install:
sudo dpkg -i ccache_3.3.4-1_amd64.deb; sudo dpkg -i ccache_3.3.4-1_amd64.deb;
else else
brew update > /dev/null; brew update > /dev/null;
if [[ "$LEGACY" = false ]]; then
brew install qt5; brew install qt5;
else
unset SSL_CERT_FILE;
brew install https://gist.githubusercontent.com/dismine/c3ac01de38e12edcf22d9e05791adf82/raw/20544ac8e68ef3523f92e15f432bbaf9a6aa2c22/qt5.rb;
fi
chmod -R 755 /usr/local/opt/qt5/* chmod -R 755 /usr/local/opt/qt5/*
fi fi
before_script: before_script:
@ -135,11 +123,7 @@ before_deploy:
- | - |
if [[ "$DEPLOY" == "true" ]]; then if [[ "$DEPLOY" == "true" ]]; then
../scripts/macfixqtdylibrpath.py $TRAVIS_BUILD_DIR/build/src/app/valentina/bin/Valentina.app; ../scripts/macfixqtdylibrpath.py $TRAVIS_BUILD_DIR/build/src/app/valentina/bin/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/; 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 fi
deploy: deploy:
provider: bintray provider: bintray