From ac491d4d399fbcb33f374128f0c4947a2f4c30b0 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Tue, 31 Dec 2019 19:57:06 +0100 Subject: [PATCH] CI: use cmake --build command to build a project (#9) This way we hide the real build system and thus, can replace Makefiles with Ninja and we won't have to change the build command. --clean-first parameter will invoke clean target before building. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5d41e26a..1a36b514 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ jobs: - stage: demos-build-cmake os: linux compiler: gcc - script: mkdir build && cd build && cmake .. && make clean all + script: mkdir build && cd build && cmake .. && cmake --build . --clean-first - stage: gateway-build os: linux compiler: gcc