From 1b276fbe555f85f95084615811b19c7e8727df0d Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Sun, 12 Jul 2015 11:49:25 +0200 Subject: [PATCH] Add .travis.yml file to build on Travis --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..55e8feea --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: cpp +os: + - linux + - osx +compiler: + - gcc + - clang +branches: + only: + - master + - develop +script: + - mkdir build_directory + - cd build_directory + - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=True -DCOMPILE_TESTS=True ../ + - make && make test + - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=False -DCOMPILE_TESTS=True ../ + - make && make test + - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release —DDOUBLE_PRECISION_ENABLED=True -DCOMPILE_TESTS=True ../ + - make && make test + - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release —DDOUBLE_PRECISION_ENABLED=False -DCOMPILE_TESTS=True ../ + - make && make test \ No newline at end of file