From 45985363cfe3460d91aae7ef44fb5368a7308fe4 Mon Sep 17 00:00:00 2001 From: "Evgeniy A. Dushistov" Date: Thu, 2 Jun 2016 14:56:11 +0300 Subject: [PATCH] add travis control file --- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8b77086 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,34 @@ +# +# Available repositories are listed here: +# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json +# + +sudo: false + +language: + - cpp + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + - kalakris-cmake + - ubuntu-sdk-team + packages: + - g++-4.8 + - cmake + - libglib2.0-dev + +env: +- COMPILER_VERSION=4.8 + +before_script: + - mkdir build + - cd build + - CC=$CC-${COMPILER_VERSION} CXX=$CXX-${COMPILER_VERSION} cmake -DBUILD_TESTS=True .. + - cd .. + +script: + - cd build + - make -k -j2 VERBOSE=1 + - ctest --output-on-failure