41 lines
579 B
YAML
41 lines
579 B
YAML
language: cpp
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- cmake
|
|
|
|
before_install:
|
|
- export LD_LIBRARY_PATH=$(if [[ $CXX == "clang++" ]]; then echo -n '/usr/local/clang/lib'; fi)
|
|
|
|
before_script:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake ..
|
|
|
|
script:
|
|
- make -j4
|
|
- ctest --verbose
|
|
- docker build -t ad-freiburg/pfaedle .
|
|
|
|
deploy:
|
|
on:
|
|
branch: master
|
|
provider: script
|
|
script: bash push-docker-image.sh
|
|
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
on_failure: always
|