2019-04-25 10:47:36 +02:00
|
|
|
os: osx
|
|
|
|
osx_image: xcode10.2
|
|
|
|
|
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- boost
|
|
|
|
- openssl
|
|
|
|
- rapidjson
|
|
|
|
- qt
|
|
|
|
- p7zip
|
|
|
|
|
|
|
|
compiler: clang
|
2017-02-09 21:18:51 +01:00
|
|
|
|
|
|
|
script:
|
2019-04-25 10:47:36 +02:00
|
|
|
- mkdir build && cd build
|
|
|
|
- /usr/local/opt/qt/bin/qmake .. && make -j8
|
|
|
|
- 7z a chatterino2.zip chatterino.app
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: releases
|
|
|
|
api_key: $GITHUB_KEY
|
|
|
|
file: "chatterino2.zip"
|
|
|
|
prerelease: true
|
|
|
|
on:
|
|
|
|
tags: false
|
|
|
|
branch: nightly
|