2
0
mirror of https://github.com/boostorg/ratio.git synced 2026-02-23 03:52:17 +00:00

[CMake] Use correct toolchain on travis

This commit is contained in:
Mike Dev
2019-05-08 11:39:21 +02:00
parent fa17bf97ef
commit 55a542de1c
2 changed files with 4 additions and 3 deletions

View File

@@ -313,7 +313,8 @@ script:
- |-
echo "using $TOOLSET : : $COMPILER : <cxxflags>-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 .

View File

@@ -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 .