language: c

compiler:
  - gcc

install:
  - mkdir _build
  - cd _build
  - cmake ../ -DCMAKE_INSTALL_PREFIX=$(pwd)/../_inst -DCMAKE_VERBOSE_MAKEFILE=True
  - make install

script:
  - ctest

language: c

os:
  - linux
  - osx

install:
  - mkdir _build && cd _build
  - cmake .. -DCMAKE_INSTALL_PREFIX=../_install
  - make install

script:
  - test -f ../_install/include/bmi.h
  - test -f ../_install/lib/pkgconfig/bmic.pc

Build on Linux & macOS; test for installed files
Build on Linux & macOS; test for installed files
