Add a CMake job to Travis

This commit is contained in:
Peter Dimov
2018-09-20 01:48:48 +03:00
parent 726ee688d6
commit a0c353ccda

View File

@@ -1,4 +1,4 @@
# Copyright 2016, 2017 Peter Dimov # Copyright 2016-2018 Peter Dimov
# Distributed under the Boost Software License, Version 1.0. # Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) # (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
@@ -34,6 +34,13 @@ matrix:
compiler: clang++ compiler: clang++
env: TOOLSET=clang CXXSTD=03,11,14,1z env: TOOLSET=clang CXXSTD=03,11,14,1z
- os: linux
script:
- mkdir __build__
- cd __build__
- cmake ../libs/assert
- cmake --build . --target check
install: install:
- BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
- cd .. - cd ..