.travis.yml 458 Bytes
Newer Older
1
# Copyright (c) 2014-2016, Siemens AG. All rights reserved.
2
# SPDX-License-Identifier: BSD-2-Clause
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

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