From 2fa6f710e5beca0ead9da19042925fdd5e5cd8be Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Thu, 16 Jul 2015 22:46:14 +0300 Subject: Travis CI --- .travis.yml | 12 +++++++++--- CMakeLists.txt | 2 +- README.md | 13 ++++++++----- 3 files changed, 18 insertions(+), 9 deletions(-) mode change 100644 => 100755 README.md diff --git a/.travis.yml b/.travis.yml index ac35a12..f9840b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,15 @@ script: - cmake . - make - make test -before_script: - - sudo apt-get update -qq - - sudo apt-get install -qq libboost-all-dev +sudo: false +addons: +apt: + sources: + - ubuntu-toolchain-r-test + packages: + - cmake + - gcc + - libboost-all-dev notifications: email: recipients: diff --git a/CMakeLists.txt b/CMakeLists.txt index 42c7f16..37cf3bb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ option(ENABLE_TESTS "Set to ON to enable building of tests" OFF) option(ENABLE_SAMPLES "Set to ON to enable building of samples" OFF) ### sources -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") include_directories("${PROJECT_SOURCE_DIR}/src") set(SRC_LIST src/tgbot/Api.cpp diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 7037c35..1989d3f --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ -# tgbot-cpp - -C++ library for Telegram bot API. - -It's alpha version. Stable release will be soon. \ No newline at end of file +# tgbot-cpp + +[![Build Status](https://travis-ci.org/reo7sp/tgbot-cpp.svg?branch=master)](https://travis-ci.org/reo7sp/tgbot-cpp) + + +C++ library for Telegram bot API. + +It's alpha version. Stable release will be soon. -- cgit v1.2.3