From 19555528bbe786c6a2808322668c324d993ecea1 Mon Sep 17 00:00:00 2001 From: Mindaugas Vinkelis Date: Sat, 12 Aug 2017 10:26:21 +0300 Subject: [PATCH] added travis build status --- .travis.yml | 23 ++++++++++++++++++++ CHANGELOG.md | 8 ++++++- README.md | 1 + ext/{LinkTestLIb.cmake => LinkTestLib.cmake} | 0 include/bitsery/bitsery.h | 2 +- 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 .travis.yml rename ext/{LinkTestLIb.cmake => LinkTestLib.cmake} (100%) diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4198e32 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: cpp + +compiler: +  - gcc +  # clang + +before_install: + # C++14 + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq + +install: + - sudo apt-get install -qq g++-5 lcov + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90 + - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90 + +before_script: +  - mkdir build +  - cd build +  - cmake .. + +script: make && make test + diff --git a/CHANGELOG.md b/CHANGELOG.md index 037a88a..25c7771 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ + +# [2.0.1](https://github.com/fraillt/bitsery/compare/v2.0.0...v2.0.1) (2017-08-12) + +### Other notes +* added travis build status + # [2.0.0](https://github.com/fraillt/bitsery/compare/v1.1.1...v2.0.0) (2017-07-25) ### Features @@ -36,4 +42,4 @@ Serialization functions: * **text** - for c-array and std::string * **range** - compresion for primitive types (e.g. int between [255..512] will take up 8bits * **substitution** - default value from list (e.g. 4d vector, that is most of the time equals to [0,0,0,1] can store only 1bit) -* **boolBit**/**boolByte** - serialize bool, as 1bit or 1byte. \ No newline at end of file +* **boolBit**/**boolByte** - serialize bool, as 1bit or 1byte. diff --git a/README.md b/README.md index 86f6c3d..a2bcb7c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Build Status](https://travis-ci.org/fraillt/bitsery.svg?branch=master)](https://travis-ci.org/fraillt/bitsery) # Bitsery Header only C++ binary serialization library. diff --git a/ext/LinkTestLIb.cmake b/ext/LinkTestLib.cmake similarity index 100% rename from ext/LinkTestLIb.cmake rename to ext/LinkTestLib.cmake diff --git a/include/bitsery/bitsery.h b/include/bitsery/bitsery.h index 66f21e5..4557be9 100644 --- a/include/bitsery/bitsery.h +++ b/include/bitsery/bitsery.h @@ -26,7 +26,7 @@ #define BITSERY_MAJOR_VERSION 2 #define BITSERY_MINOR_VERSION 0 -#define BITSERY_PATCH_VERSION 0 +#define BITSERY_PATCH_VERSION 1 #define BITSERY_QUOTE_MACRO(name) #name #define BITSERY_BUILD_VERSION_STR(major,minor, patch) \