generate-shapes/.travis.yml

41 lines
2 KiB
YAML
Raw Normal View History

language: cpp
os:
2020-12-02 18:26:40 +00:00
- linux
- osx
compiler:
2020-12-02 18:26:40 +00:00
- gcc
- clang
addons:
apt:
sources:
2020-12-02 18:26:40 +00:00
- ubuntu-toolchain-r-test
packages:
2020-12-02 18:26:40 +00:00
- cmake
2020-12-02 23:05:34 +00:00
services:
- docker
2018-07-23 01:32:42 +00:00
before_install:
2020-12-02 18:26:40 +00:00
- export LD_LIBRARY_PATH=$(if [[ $CXX == "clang++" ]]; then echo -n '/usr/local/clang/lib';
fi)
before_script:
2020-12-02 18:26:40 +00:00
- mkdir build
- cd build
- cmake ..
script:
2020-12-02 18:26:40 +00:00
- make -j4
- ctest --verbose
2020-12-03 11:50:17 +00:00
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) ]]; then cd .. && docker build -t adfreiburg/pfaedle .; fi
deploy:
on:
branch: master
2020-12-03 13:44:14 +00:00
condition: "$CC = gcc && $TRAVIS_OS_NAME = linux"
provider: script
script: bash push-docker-image.sh
notifications:
email:
on_success: never
2018-07-23 15:15:39 +00:00
on_failure: always
2020-12-02 18:26:40 +00:00
env:
global:
- secure: W60bRWv9u28UFjmt1iO5ELtPBvUNkAPqiwwxd+boy7BazAJ0fUUBZoEpnsgv8pqKWJV6VMUvknP4taU5a6NM+3aRHuCZOjVC42Rs8oDGJoXrhmH9ZzOOp2nDnHy9hqrtRKJrYQUww+s7UjBpWcaorqHvo5iWNrt9OulKM+V2u6IQI3xI1bPoaVhK/EnHHFAWe52v0KOkaSjguL5zj7xZqCeaZKmX9PsiQdqQJVtX2zsdF/aDkDvhkAl4SxeVKrFEVDV4gPx7yqGC/uQ6YJrQXigqpWWL6oZ1cxsg2HWqLZyAYN8tIWcnaAW8+PVYLfH1iTDb6fnokD4DPpVfULz4dzqOnTuG+Qd97U2BVDJN+LdxK2d8RZ1KLAWNbFGBlkY/8zpMAtV/xhGk2vHg/pj6ZPUPncNlOzUepASw5yCY7H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