# travis configuration file
# Copyright 2018 Ilya Shipitsin <chipitsine@gmail.com>
#                Nicolas Mora <mail@babelouest.org>
sudo: required
language: c
addons:
  apt:
    packages: [ check, libsubunit-dev, cppcheck ]
matrix:
  include:
    - os: linux
      compiler: gcc
    - os: linux
      compiler: clang
    - env: LABEL=cppcheck
      os: linux
      script:
        - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . >build.log 2>&1 || (cat build.log && exit 1)
    - os: osx
      addons:
        homebrew:
          packages:
          - check
          update: true
      script:
        - mkdir build && cd build
        - cmake -DBUILD_ORCANIA_TESTING=on -DWITH_JOURNALD=off ..
        - make test
script:
  - mkdir build && cd build
  - cmake -DBUILD_ORCANIA_TESTING=on ..
  - make test package
  - sudo make install
  - cd ../
  - make
  - make clean check

# travis configuration file
# Copyright 2018 Ilya Shipitsin <chipitsine@gmail.com>
#                Nicolas Mora <mail@babelouest.org>
sudo: required
language: c
addons:
  apt:
    packages: [ check, libsubunit-dev, cppcheck ]
matrix:
  include:
    - env: LABEL=linux-gcc
      os: linux
      compiler: gcc
    - env: LABEL=lnux-clang
      os: linux
      compiler: clang
    - env: LABEL=cppcheck
      os: osx
      addons:
        homebrew:
          packages:
          - check
          update: true
      script:
        - mkdir build && cd build
        - cmake -DBUILD_ORCANIA_TESTING=on -DWITH_JOURNALD=off ..
        - make test
    - env: LABEL=osx
      os: linux
      script:
        - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . >build.log 2>&1 || (cat build.log && exit 1)
script:
  - pushd test
  - make test
  - popd test
  - mkdir build && cd build
  - cmake -DBUILD_ORCANIA_TESTING=on ..
  - make test package
  - sudo make install
  - cd ../
  - make
  - make clean check

Add labels on scripts to distinguidhed them, run tests using makefile to validate this one too
Add labels on scripts to distinguidhed them, run tests using makefile to validate this one too
