diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:44:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:44:33 +0000 |
commit | b196c6498d22e47bb9d0da0153068ec54eac7956 (patch) | |
tree | 1a994a492581e93224a7ee6455f5d4e9d2ec8e59 /.travis.yml | |
parent | Initial commit. (diff) | |
download | opentracing-cpp-b196c6498d22e47bb9d0da0153068ec54eac7956.tar.xz opentracing-cpp-b196c6498d22e47bb9d0da0153068ec54eac7956.zip |
Adding upstream version 1.6.0.upstream/1.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ab2824f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,53 @@ +language: cpp +sudo: true +dist: trusty +matrix: + include: + - os: osx + osx_image: xcode9 + env: + - MATRIX_EVAL="CC=clang && CXX=clang++" + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-6 + - cmake + env: + - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.9 + - cmake + env: + - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.8 + - cmake + env: + - MATRIX_EVAL="CC=gcc-4.8 && CXX=g++-4.8" + + +before_install: + - eval "${MATRIX_EVAL}" + - ./ci/setup_${TRAVIS_OS_NAME}_environment.sh +script: + - mkdir -p build + - cd build + - cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON .. + - make + - make test + - cd .. + - bazel build //... + - bazel test //... |