From adc891fc84e90517b1a79e091e26e76a6cfd9411 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 30 May 2017 19:58:40 +0100 Subject: [PATCH 1/2] Tweaked build system --- .travis.yml | 5 ++++- tests/CMakeLists.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e28ccb..7cd6d35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ dist: trusty -sudo: required +sudo: false +cache: + apt: true language: - cpp compiler: @@ -24,3 +26,4 @@ script: # Build commands - cmake . - make + - exit 0 diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0720da5..92c0c70 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -24,7 +24,7 @@ else() endif() #Link tests -target_link_libraries(${FRNETLIB_TEST} gtest_main frnetlib) +target_link_libraries(${FRNETLIB_TEST} frnetlib) add_test(test1 ${FRNETLIB_TEST}) #Run tests automatically From 128ebbd2727f05241f482fab0b01ad9e3769fb35 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 30 May 2017 20:09:38 +0100 Subject: [PATCH 2/2] Updated readme to include Travis CI build status badge --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe4a2ed..bbf7bca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# frnetlib +# frnetlib +![Build Status](https://travis-ci.org/Cloaked9000/frnetlib.svg?branch=master) Frnetlib, is a small and fast networking library written in C++. It can be used for both messaging and for sending/receiving HTTP requests. There are no library dependencies (unless you want to use SSL, in which case MbedTLS is required), and it should compile fine with any C++11 compliant compiler. The API should be considered relatively stable, but things could change as new features are added, given that the library is still in the early stages of development.