diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-09-29 14:52:40 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-09-29 14:57:44 +0300 |
commit | f0790926fc9073e7ab81491a7744fc6f5dc83c96 (patch) | |
tree | caf8565ade5886df918e644c16862d5fc5a40f60 | |
parent | 8e3d7e30e34ffb181a600e12e74727737e0c1f76 (diff) |
Add Travis CI
-rw-r--r-- | .travis.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1158686 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +# Ubuntu 14.04 Trusty support +sudo: required +dist: trusty + +addons: + apt: + sources: + - llvm-toolchain-precise-3.8 + - ubuntu-toolchain-r-test + packages: + - clang-3.8 + - g++-5 + - gcc-5 + +install: + - if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi + - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8" CC="clang-3.8"; fi + +# Enable C++ support +language: cpp + +# Compiler selection +compiler: + - gcc + - clang + +# Build steps +script: + - mkdir build + - cd build + - cmake .. && make |