Spectral/.travis.yml

31 lines
726 B
YAML
Raw Normal View History

2018-09-05 01:19:51 +00:00
language: cpp
git:
depth: false
2018-09-05 01:19:51 +00:00
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:
2018-10-22 10:19:11 +00:00
- qmake spectral.pro CONFIG+=debug CONFIG+=qml_debug PREFIX="${DEPLOY_DIR}"
2018-09-05 01:19:51 +00:00
- make
- make install
2018-10-14 22:59:19 +00:00
- macdeployqt ${DEPLOY_DIR}/bin/spectral.app -dmg -qmldir=qml -qmldir=imports
2018-09-07 06:52:43 +00:00
before_deploy:
- mv ${DEPLOY_DIR}/bin/spectral.dmg ./
- sed -i -e "s/TRAVIS_BUILD_NUMBER/$(git rev-list --count HEAD)/g" .ci/bintray-release.json
2018-09-05 09:27:38 +00:00
deploy:
2018-09-05 10:17:28 +00:00
- provider: bintray
file: .ci/bintray-release.json
user: $BINTRAY_USER
2018-09-05 11:17:20 +00:00
key: $BINTRAY_TOKEN
2018-09-05 10:17:28 +00:00
skip_cleanup: true