Spectral/.travis.yml

23 lines
544 B
YAML
Raw Normal View History

2018-09-05 01:19:51 +00:00
language: cpp
matrix:
include:
- os: osx
env: [ 'ENV_EVAL="brew update && brew install qt5 && PATH=/usr/local/opt/qt/bin:$PATH"', 'DEPLOY_DIR="deploy"' ]
install:
- eval "${ENV_EVAL}"
- git submodule update --init --recursive
script:
- qmake matrique.pro PREFIX="${DEPLOY_DIR}"
- make
- make install
2018-09-05 08:27:54 +00:00
- macdeployqt ${DEPLOY_DIR}/bin/matrique.app -dmg -qmldir=qml
2018-09-05 08:48:59 +00:00
- tar czvf matrique.tar.gz ${DEPLOY_DIR}
deploy:
provider: releases
api_key: "3271b1cdd3c3615e42e503e08feb9498c4800aae"
file: "matrique.tar.gz"
skip_cleanup: true