Add .travis.yml.

This commit is contained in:
Black Hat 2018-09-05 01:19:51 +00:00
parent 2c10b2272c
commit 0789ea8522
1 changed files with 16 additions and 0 deletions

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
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
- macdeployqt --release --qmldir qml "${DEPLOY_DIR}/matrique"