From 55a542de1cea16bb3248edda277eff2b733210ae Mon Sep 17 00:00:00 2001 From: Mike Dev Date: Wed, 8 May 2019 11:39:21 +0200 Subject: [PATCH] [CMake] Use correct toolchain on travis --- .travis.yml | 3 ++- appveyor.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 526e5d2..48e0f3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -313,7 +313,8 @@ script: - |- echo "using $TOOLSET : : $COMPILER : -std=$CXXSTD ;" > ~/user-config.jam - ./b2 libs/ratio/test toolset=$TOOLSET - - mkdir __wsl__ && cd __wsl__ + - mkdir __build__ && cd __build__ + - export CXX=$COMPILER - cmake -DBOOST_RATIO_INCLUDE_TESTS=ON ../libs/ratio/test/test_cmake - cmake --build . - ctest . diff --git a/appveyor.yml b/appveyor.yml index 9c3a317..76e5466 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -39,8 +39,8 @@ build: off test_script: - b2 libs/ratio/test toolset=%TOOLSET% - - mkdir __wsl__ - - cd __wsl__ + - mkdir __build__ + - cd __build__ - cmake -DBOOST_RATIO_INCLUDE_TESTS=ON ../libs/ratio/test/test_cmake - cmake --build . - ctest .