Skip to content

Commit

Permalink
forget about coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Mar 29, 2017
1 parent 899f8bd commit bea5a08
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
11 changes: 0 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,9 @@ sudo: false
language:
- cpp

addons:
apt:
sources:
- ubuntu-toolchain-r-test

before_install:
- pip install --user cpp-coveralls

script:
- mkdir build
- cd build
- cmake ..
- make
- ./tests

after_success:
- coveralls --root .. --gcov-options '\-lp' -e example -E '.*.h' -E '.*.cpp' -E '.*.cc' -E '.*/CMakeCCompilerId.c' -E '.*/feature_tests.cxx' -E '.*/feature_tests.c'
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 2.8.7)
project(lwmqtt)

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c1x -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -Wall -O0 -g3 -fprofile-arcs -ftest-coverage")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -O0 -g3 -fprofile-arcs -ftest-coverage")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c1x -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall")
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# lwmqtt

[![Build Status](https://travis-ci.org/256dpi/lwmqtt.svg?branch=master)](https://travis-ci.org/256dpi/lwmqtt)
[![Coverage Status](https://coveralls.io/repos/github/256dpi/lwmqtt/badge.svg?branch=master)](https://coveralls.io/github/256dpi/lwmqtt?branch=master)

The "**L**ight **W**eight **MQTT**" library implements a MQTT client that is optimized to be used in embedded and constraint systems. It can be used with any operating system and network stack and only requires a handful of callbacks for a full integration. The project is derived from the [Paho MQTT Embeded C](https://github.com/eclipse/paho.mqtt.embedded-c), [gomqtt](https://github.com/gomqtt) and [mosquitto](https://github.com/eclipse/mosquitto) project.

0 comments on commit bea5a08

Please sign in to comment.