2016-09-05 19:45:23 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2018-01-24 17:28:53 +00:00
|
|
|
group: deprecated-2017Q4
|
2016-09-05 19:45:23 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2016-09-11 08:29:17 +00:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
|
|
- sudo apt-get -q update
|
2016-09-05 19:45:23 +00:00
|
|
|
install:
|
|
|
|
- sudo apt-get -y install g++-5
|
2016-09-11 08:29:17 +00:00
|
|
|
- sudo apt-get -y install libboost-all-dev
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2018-04-18 18:16:20 +00:00
|
|
|
- cmake -DCMAKE_CXX_COMPILER=g++-5 ..
|
|
|
|
- cmake --build . --config Release --target package
|
|
|
|
- ./rhubarb/runTests
|
2016-09-11 09:16:31 +00:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.3
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2018-04-18 18:16:20 +00:00
|
|
|
- cmake ..
|
|
|
|
- cmake --build . --config Release --target package
|
|
|
|
- ./rhubarb/runTests
|
|
|
|
deploy:
|
|
|
|
# Deploy to GitHub releases
|
|
|
|
provider: releases
|
|
|
|
api_key: $GITHUB_OAUTH_TOKEN
|
|
|
|
file_glob: true
|
|
|
|
file: "./rhubarb-lip-sync-*.zip"
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
tag_name: $TRAVIS_TAG
|
|
|
|
name: $TRAVIS_COMMIT_MESSAGE
|
|
|
|
draft: true
|