Merge pull request #1079 from Chatterino/osx-ci-test

OSX CI through travis
This commit is contained in:
pajlada 2019-05-19 12:19:23 +02:00 committed by GitHub
commit 87f6d3c6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,22 +15,21 @@ compiler: clang
script:
- mkdir build && cd build
- /usr/local/opt/qt/bin/qmake .. && make -j8
- 7z a chatterino2.zip chatterino.app
- /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg
- mv chatterino.dmg chatterino-osx.dmg
before_deploy:
- git config --global user.email "builds@travis-ci.com"
- git config --global user.name "Travis CI"
- export GIT_TAG=nightly-mac-0.$TRAVIS_BUILD_NUMBER
- git tag $GIT_TAG -a -m "Nightly last change - $TRAVIS_COMMIT_MESSAGE"
- git push -q https://$GITHUB_KEY@github.com/fourtf/chatterino2 --tags
- ls -R
- export GIT_TAG=nightly-build
- git tag $GIT_TAG -f
deploy:
skip_cleanup: true
provider: releases
api_key: $GITHUB_KEY
file: "chatterino2.zip"
api_key:
secure: ZzS55wlwtLAVEBaDDMqiuqZwuTpvLbNnaNw0enfiqpjWT7hgbbp/SBw2rbYIkVqm7tBHCLnEzKto6p4Gz6ROo0gGACARmx7EwIloX18rMCuBWygNHRyVruDSlmEOLWRqYByDbUdCkKhYr9aegnkm7zhzCmSBCTW28/uVlxM2bTHIgqKEpB4k1W8OqKdJDxqZKeF4r7nDNSOx5ylhpiK+WNFK8yfiaF1SQlSwsdv9o1RkbJlew7iigvHvEM2kDMkiMWYlJ2khkUWVCVQDQGe4/ya5pgTIHDLu5sZuclp5zhgfDf1U3STvsbQWvxJfsmCId7IQHJ83OSFeoUf6y849i3GMqlNi3aXrxEx0fi0dILQ76/Sj246FPMA4kC0/W49uaxqD784wFuJDjSWeWwi/NPoJ/gz0mGZy+08BoztOGqqOKjJJdESBYTio71N8VcK09zQ0LjXRmX+g3BbrK6a2F3hiMKeuYwdaN2/KdMMoqFDau6L3fXLdpcHKdJC8K/yzJtyyIe0CRB2nj8sZLHfxDwoRm7gOTDXq1zPL7CP9cCwCnCR6nm3CqUW/CnSWuMKpSoQRlP5EBI7zzYT2/tZc/vat5nob7Xif6yFF9fh/VHx4tC6zsfkA1nPPN3+QpdVInRo7dCVxtTqey5FdVjSiv7n11TrFhZ7+Fr5x6CZqa58=
file: "chatterino-osx.dmg"
prerelease: true
on:
tags: false
branch: nightly
branch: osx-ci-test