blob: dc9ecf02af46e425891044215cb46a0fdeaccec8 [file] [log] [blame]
language: c
compiler:
- clang
- gcc
sudo: false
before_install:
- pip install cpp-coveralls --user
- export LD_LIBRARY_PATH=$PWD/build/dist/lib:$LD_LIBRARY_PATH
env:
- USE_CONTEXT=ON
- USE_CONTEXT=OFF
matrix:
exclude:
- compiler: gcc
env: USE_CONTEXT=OFF
addons:
apt:
sources:
- george-edison55-precise-backports
packages:
- libssl-dev
- cmake
- cmake-data
script:
- git clone git://github.com/cose-wg/Examples Examples
- mkdir build
- cd build && cmake -Duse_context=$USE_CONTEXT -Dcoveralls_send=ON .. && make all test
- make coveralls