From f4e3dda3faa94f37fcdaad88aae3d9145c3ab8d3 Mon Sep 17 00:00:00 2001 From: Simon Fuhrmann Date: Mon, 24 Aug 2015 15:17:43 +0200 Subject: [PATCH] TRAVIS: Added .travis.yml configuration file --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..e8573d8d0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +os: linux +language: cpp +compiler: gcc +sudo: false + +branches: + only: + - master + +before_install: + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.8 + +before_script: + - wget https://github.com/google/googletest/archive/master.zip -O /tmp/gtest.zip + - unzip /tmp/gtest.zip + - make -C $PWD/googletest-master/make + - export GTEST_PATH=$PWD/googletest-master + +script: make && make test && ./tests/test