blob: 1343560010d8b7ea19a4630c469659e311a30437 [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
COVERALLS="-Dcoveralls_send=ON"
- USE_CONTEXT=OFF
COVERALLS="-Dcoveralls_send=ON"
- USE_CONTEXT=OFF USE_EMBEDTLS=ON
COVERALLS="-Dcoveralls_send=ON"
- CMAKE_OPTIONS="-Dinclude_encrypt=ON -Dinclude_encrypt0=OFF -Dinclude_mac0=OFF -Dinclude_mac=OFF -Dinclude_sign=OFF -Dinclude_sign0=OFF"
- CMAKE_OPTIONS="-Dinclude_encrypt=OFF -Dinclude_encrypt0=ON -Dinclude_mac0=OFF -Dinclude_mac=OFF -Dinclude_sign=OFF -Dinclude_sign0=OFF"
- CMAKE_OPTIONS="-Dinclude_encrypt=OFF -Dinclude_encrypt0=OFF -Dinclude_mac0=ON -Dinclude_mac=OFF -Dinclude_sign=OFF -Dinclude_sign0=OFF"
- CMAKE_OPTIONS="-Dinclude_encrypt=OFF -Dinclude_encrypt0=OFF -Dinclude_mac0=OFF -Dinclude_mac=ON -Dinclude_sign=OFF -Dinclude_sign0=OFF"
- CMAKE_OPTIONS="-Dinclude_encrypt=OFF -Dinclude_encrypt0=OFF -Dinclude_mac0=OFF -Dinclude_mac=OFF -Dinclude_sign=ON -Dinclude_sign0=OFF"
- CMAKE_OPTIONS="-Dinclude_encrypt=OFF -Dinclude_encrypt0=OFF -Dinclude_mac0=OFF -Dinclude_mac=OFF -Dinclude_sign=OFF -Dinclude_sign0=ON"
matrix:
exclude:
- compiler: clang
env: USE_CONTEXT=OFF
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
- george-edison55-precise-backports
packages:
- libssl-dev
# - libssl1.1.0
- cmake
- cmake-data
script:
# - apt-get install libssl1.1.0
- cmake --version
- git clone --depth 1 git://github.com/cose-wg/Examples Examples
- mkdir build
- cd build && cmake -Duse_context=$USE_CONTEXT -Duse_embedtls=$USE_EMBEDTLS $CMAKE_OPTIONS $COVERALLS .. && make all test
after_success:
- make coveralls