summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml12
-rwxr-xr-xCMakeLists.txt2
-rwxr-xr-x[-rw-r--r--]README.md13
3 files changed, 18 insertions, 9 deletions
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
index 7037c35..1989d3f 100644..100755
--- 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.