Update Travis CI configuration

This commit is contained in:
Daniel Wolf 2019-08-03 21:33:43 +02:00
parent 0bf10b9504
commit 45c7919265
1 changed files with 10 additions and 29 deletions

View File

@ -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: []
script:
- ./gradlew build --scan --stacktrace
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:
- mkdir build
- 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