Merge pull request #1328 from leon-richardt/fix-travis-macos

[Workaround] "Fix" macOS Travis Builds
This commit is contained in:
pajlada 2019-09-22 10:38:01 +02:00 committed by GitHub
commit ebe7e1bf3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,9 @@ matrix:
script: script:
- mkdir build && cd build - mkdir build && cd build
- dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\"" - dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\""
- /usr/local/opt/qt/bin/qmake .. DEFINES+=$dateOfBuild && make -j8 - /usr/local/opt/qt/bin/qmake .. DEFINES+=$dateOfBuild
- sed -ie 's/-framework\\\ /-framework /g' Makefile
- make -j8
- /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg - /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg
- mkdir app - mkdir app
- hdiutil attach chatterino.dmg - hdiutil attach chatterino.dmg