From 4a165690aacd90815035974185a912b0b5f160d1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 26 Aug 2020 23:01:18 +0300 Subject: Travis: Focal is now available --- .travis.yml | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index ba09998..b6ae1a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,10 @@ -language: shell -os: linux -dist: bionic +# Linux builds are only to make sure the project can be built w/ MinGW-w64 & +# GCC. -services: - - docker +language: cpp +os: linux +# MinGW-w64 7.0 or higher is required, hence the latest distribution. +dist: focal env: global: @@ -14,16 +15,20 @@ env: - configuration=Debug platform=x64 - configuration=Release platform=x64 -# MinGW-w64 7.0 or higher is required, which is only available on Focal. -# I tried building it manually, but failed miserably, which is why I opted for -# a Docker build. +before_script: + - cd cmake + - >- + python3 -m project.ci.travis.boost + --mingw + -- + --with-filesystem + --with-program_options + --with-test + script: >- - docker-compose -f .travis/docker-compose.yml - build - --build-arg boost_version="$boost_version" - --build-arg platform="$platform" - --build-arg configuration="$configuration" - mingw_build + python3 -m project.ci.travis.cmake + --install "$HOME/install" + --mingw jobs: fast_finish: true -- cgit v1.2.3