aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-08-26 23:01:18 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-08-26 23:12:00 +0300
commit4a165690aacd90815035974185a912b0b5f160d1 (patch)
treea67be718b99fb4415ec8f279c8652ff40e20b87f
parentupdate cmake-common (diff)
downloadwinapi-debug-4a165690aacd90815035974185a912b0b5f160d1.tar.gz
winapi-debug-4a165690aacd90815035974185a912b0b5f160d1.zip
Travis: Focal is now available
-rw-r--r--.travis.yml33
1 files changed, 19 insertions, 14 deletions
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