2018-03-28 11:44:20 +02:00
|
|
|
# Travis CI script
|
|
|
|
|
2018-03-29 17:57:59 +02:00
|
|
|
language: cpp
|
2018-03-28 11:44:20 +02:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
#- osx
|
|
|
|
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
cache: ccache
|
|
|
|
|
2018-03-29 17:57:59 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
|
2018-03-28 11:44:20 +02:00
|
|
|
env:
|
|
|
|
matrix:
|
2018-05-12 23:02:04 +02:00
|
|
|
# - ZMQ_BUILD_TYPE=cmake DRAFT=enabled
|
|
|
|
- ZMQ_BUILD_TYPE=cmake ZMQ_VERSION=4.2.5
|
|
|
|
- ZMQ_BUILD_TYPE=pkgconf ZMQ_VERSION=4.2.0
|
2018-03-28 11:44:20 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2018-05-12 23:02:04 +02:00
|
|
|
# - env: ZMQ_BUILD_TYPE=cmake DO_CLANG_FORMAT_CHECK=1 CLANG_FORMAT=/usr/local/clang-5.0.0/bin/clang-format
|
2018-03-28 11:44:20 +02:00
|
|
|
# os: linux
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - llvm-toolchain-trusty-5.0
|
|
|
|
# packages:
|
|
|
|
# - clang-5.0
|
2018-04-03 12:04:23 +02:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-7
|
|
|
|
env:
|
2018-05-12 23:02:04 +02:00
|
|
|
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" ZMQ_BUILD_TYPE=cmake ZMQ_VERSION=4.2.5 DRAFT=1
|
2018-03-28 11:44:20 +02:00
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
2018-03-29 17:57:59 +02:00
|
|
|
before_install:
|
|
|
|
- pip install --user cpp-coveralls
|
2018-05-12 23:02:04 +02:00
|
|
|
|
|
|
|
# Build and check this project according to the ZMQ_BUILD_TYPE
|
|
|
|
script:
|
2018-04-03 12:04:23 +02:00
|
|
|
- eval "${MATRIX_EVAL}"
|
2018-03-28 11:44:20 +02:00
|
|
|
- ./ci_build.sh
|
2018-03-29 17:57:59 +02:00
|
|
|
|
|
|
|
after_success:
|
2018-04-02 13:21:11 +02:00
|
|
|
- coveralls --root . -E ".*external.*" -E ".*CMakeFiles.*" -E ".*tests/" -E ".*demo/" -E ".*libzmq/"
|