Trying to return support for legacy Mac OS X version. [skip appveyor]

This commit is contained in:
Roman Telezhynskyi 2020-11-15 09:57:23 +02:00
parent 66fc63c04b
commit 378096b667

View File

@ -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