Because Qt for Mac OS X very strict to OS versions we will provide two packages.
The second will use Qt 5.6 to support old Mac OS X versions. --HG-- branch : develop
This commit is contained in:
parent
f35bdb6d75
commit
749f71cb80
19
.travis.yml
19
.travis.yml
|
@ -14,7 +14,15 @@ matrix:
|
||||||
- '$HOME/.sonar/cache'
|
- '$HOME/.sonar/cache'
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: DEPLOY=true
|
env:
|
||||||
|
- DEPLOY=true
|
||||||
|
- LEGACY=false
|
||||||
|
osx_image: xcode10
|
||||||
|
- os: osx
|
||||||
|
compiler: clang
|
||||||
|
env:
|
||||||
|
- DEPLOY=true
|
||||||
|
- LEGACY=true
|
||||||
osx_image: xcode9
|
osx_image: xcode9
|
||||||
before_install:
|
before_install:
|
||||||
- |
|
- |
|
||||||
|
@ -38,7 +46,12 @@ 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
|
||||||
|
brew unlink qt5;
|
||||||
|
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/3c4eff9a60c51514d1896f0ea4ebe00069b2fa9a/Formula/qt5.rb
|
||||||
|
fi
|
||||||
chmod -R 755 /usr/local/opt/qt5/*
|
chmod -R 755 /usr/local/opt/qt5/*
|
||||||
fi
|
fi
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -85,7 +98,11 @@ 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:
|
||||||
edge:
|
edge:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user