From 26a952d7e017a6a1fd81941f151560b0a982d1d4 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Thu, 26 May 2016 21:10:37 +0200 Subject: [PATCH] feat(ci): Added Travis config --- .travis.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..50cacffd --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +language: cpp + +addons: + apt: + sources: + - llvm-toolchain-precise + - ubuntu-toolchain-r-test + packages: + - clang-3.7 + - g++-5 + - gcc-5 + - cmake + - libx11-dev + - libxrandr-dev + - libboost-dev + - libiw-dev + - libasound2-dev + - libmpdclient-dev + +install: + - if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi + - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi + +compiler: + - clang + - gcc + +script: + - mkdir build + - cd build + - cmake .. && make