diff options
author | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-07-16 22:57:53 +0300 |
---|---|---|
committer | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-07-16 22:57:53 +0300 |
commit | 7ea94e5447aaf31b4dffe308e58fc019d2203f89 (patch) | |
tree | bfeb41e12bec76a6ab5565bdb694bb86347592f4 | |
parent | 1ae86af7510de993b07ecea9330563a8fab5618c (diff) |
Travis CI
-rw-r--r-- | .travis.yml | 9 | ||||
-rwxr-xr-x | CMakeLists.txt | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 98a0a22..7ed6fa1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,5 @@ script: before_script: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update -qq - - sudo apt-get install -qq libboost-all-dev gcc-4.7 g++-4.7 -notifications: - email: - recipients: - - reo7sp@reo7sp.ru - on_success: change - on_failure: always + - sudo apt-get install -qq libboost-all-dev gcc-4.9 g++-4.9 + - export CXX="g++-4.9" CC="gcc-4.9" diff --git a/CMakeLists.txt b/CMakeLists.txt index 37cf3bb..42c7f16 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++11") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") include_directories("${PROJECT_SOURCE_DIR}/src") set(SRC_LIST src/tgbot/Api.cpp |