diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0bba604 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +# Use container-based distribution +sudo: false +language: c++ +matrix: + include: + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + - boost-latest + packages: + - g++-5 + - libboost1.55-all-dev + - libgtest-dev + env: COMPILER=g++-5 +script: + - mkdir build + - cd build + - cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER + - make run-tests