Files
bacnet_stack/.travis.yml
T
Yegor Yefremov ac491d4d39 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.
2019-12-31 12:57:06 -06:00

25 lines
534 B
YAML

language: c
compiler:
- gcc
- clang
jobs:
- include:
- stage: demos-build
os: linux
compiler: gcc
script: make clean all
- stage: demos-build-cmake
os: linux
compiler: gcc
script: mkdir build && cd build && cmake .. && cmake --build . --clean-first
- stage: gateway-build
os: linux
compiler: gcc
script: make clean gateway
- stage: lint
os: linux
compiler: clang
script: scan-build --status-bugs -analyze-headers -v make -j2 clean server