diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..94c1df6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +# Copyright Siemens AG, 2014 +# SPDX-License-Identifier: BSD-2-Clause + +language: cpp +compiler: + - gcc + - clang +install: + - sudo apt-get install -qq cppcheck + - sudo add-apt-repository --yes ppa:kalakris/cmake + - sudo apt-get update -qq + - sudo apt-get install cmake +script: + - cppcheck -q --enable=all *_c* + - mkdir build && cd build + - cmake .. + - make + - chmod a+x binaries/run_tests.sh + - ./binaries/run_tests.sh