From 45c791926589e358dedaf4be1bbcf4cf0882f3a0 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Sat, 3 Aug 2019 21:33:43 +0200 Subject: [PATCH] Update Travis CI configuration --- .travis.yml | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/.travis.yml b/.travis.yml index 260dc8f..f32ea7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,39 +1,20 @@ -language: cpp +language: java -sudo: required -dist: trusty -group: deprecated-2017Q4 +os: linux +jdk: oraclejdk8 + +# 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 to GitHub releases provider: releases api_key: $GITHUB_OAUTH_TOKEN file_glob: true - file: "./rhubarb-lip-sync-*.zip" + file: "./build/distributions/rhubarb-lip-sync-*.zip" skip_cleanup: true on: tags: true