mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 05:40:36 +08:00
Removed lcov testing from travis.
This commit is contained in:
+1
-3
@@ -1,13 +1,11 @@
|
||||
language: c
|
||||
sudo: true
|
||||
sudo: false
|
||||
install:
|
||||
- sudo apt-get install -y lcov
|
||||
- pip install --user cpp-coveralls
|
||||
script:
|
||||
- cmake -DCMAKE_BUILD_TYPE=Profile -DTESTING=ON -DFORMAT=ON .
|
||||
- make
|
||||
- make check_format
|
||||
- make coverage
|
||||
- ctest -V
|
||||
after_success:
|
||||
- cpp-coveralls -i matrix
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ set(VERSION_PATCH "0")
|
||||
project(matrix CXX)
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type" FORCE)
|
||||
set(CMAKE_BUILD_TYPE "Profile" CACHE STRING "Build type" FORCE)
|
||||
message(STATUS "set build type to ${CMAKE_BUILD_TYPE}")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user