Update Travis CI configuration
This commit is contained in:
parent
0bf10b9504
commit
45c7919265
37
.travis.yml
37
.travis.yml
|
@ -1,39 +1,20 @@
|
||||||
language: cpp
|
language: java
|
||||||
|
|
||||||
sudo: required
|
os: linux
|
||||||
dist: trusty
|
jdk: oraclejdk8
|
||||||
group: deprecated-2017Q4
|
|
||||||
|
# Don't call `./gradlew assemble`
|
||||||
|
install: []
|
||||||
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- os: linux
|
|
||||||
compiler: gcc
|
|
||||||
before_install:
|
|
||||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
||||||
- sudo apt-get -q update
|
|
||||||
install:
|
|
||||||
- sudo apt-get -y install g++-5
|
|
||||||
- sudo apt-get -y install libboost-all-dev
|
|
||||||
script:
|
script:
|
||||||
- mkdir build
|
- ./gradlew build --scan --stacktrace
|
||||||
- cd build
|
|
||||||
- cmake -DCMAKE_CXX_COMPILER=g++-5 ..
|
|
||||||
- cmake --build . --config Release --target package
|
|
||||||
- ./rhubarb/runTests
|
|
||||||
- os: osx
|
|
||||||
osx_image: xcode7.3
|
|
||||||
script:
|
|
||||||
- mkdir build
|
|
||||||
- cd build
|
|
||||||
- cmake ..
|
|
||||||
- cmake --build . --config Release --target package
|
|
||||||
- ./rhubarb/runTests
|
|
||||||
deploy:
|
deploy:
|
||||||
# Deploy to GitHub releases
|
# Deploy to GitHub releases
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key: $GITHUB_OAUTH_TOKEN
|
api_key: $GITHUB_OAUTH_TOKEN
|
||||||
file_glob: true
|
file_glob: true
|
||||||
file: "./rhubarb-lip-sync-*.zip"
|
file: "./build/distributions/rhubarb-lip-sync-*.zip"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
|
Loading…
Reference in New Issue