From 96192414f996435ee12bfc187ee1cfc3ab3c5bc4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 29 Jan 2020 00:53:54 +0300 Subject: Travis: lint the config --- .travis.yml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index c97f832..ef59e4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -language: minimal +language: shell os: linux dist: bionic @@ -14,13 +14,12 @@ env: - configuration=Debug platform=x64 - configuration=Release platform=x64 -script: - # 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. - - cd .travis - - >- - docker-compose build +# 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. +script: >- + docker-compose -f .travis/docker-compose.yml + build --build-arg travis_boost_version="$travis_boost_version" --build-arg platform="$platform" --build-arg configuration="$configuration" @@ -40,8 +39,4 @@ jobs: sources: - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main' key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' - # Clear before_script: - before_script: - - true - script: - - ./cmake/tools/clang-format.py --clang-format clang-format-9 + script: ./cmake/tools/clang-format.py --clang-format clang-format-9 -- cgit v1.2.3