forked from boostorg/regex
[CMake/CI] Also test build as shared library on travis
Also, as a minor tweak, put cmake builds to the front as they complete the most quickly
This commit is contained in:
29
.travis.yml
29
.travis.yml
@ -28,21 +28,32 @@ matrix:
|
|||||||
|
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
env: TOOLSET=gcc COMPILER=g++ CXXSTD=03
|
env: TEST_CMAKE=true # variables unused - just for identification in travis ci gui
|
||||||
|
script:
|
||||||
- os: linux
|
|
||||||
env: TEST_CMAKE=true # unused - just for identification in travis ci gui
|
|
||||||
script:
|
|
||||||
- git submodule update --init tools/cmake
|
- git submodule update --init tools/cmake
|
||||||
- git submodule update --init libs/typeof
|
|
||||||
- git submodule update --init libs/conversion
|
- git submodule update --init libs/conversion
|
||||||
- git submodule update --init libs/function_types
|
- git submodule update --init libs/function_types
|
||||||
- git submodule update --init libs/fusion
|
- git submodule update --init libs/fusion
|
||||||
- mkdir __build__
|
- git submodule update --init libs/typeof
|
||||||
- cd __build__
|
- mkdir __build__ && cd __build__
|
||||||
- cmake .. -DBOOST_ENABLE_CMAKE=ON -DBOOST_REGEX_INCLUDE_EXAMPLES=ON
|
- cmake .. -DBOOST_ENABLE_CMAKE=ON -DBOOST_REGEX_INCLUDE_EXAMPLES=ON
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
env: TEST_CMAKE=true BUILD_SHARED_LIBS=On # variables unused - just for identification in travis ci gui
|
||||||
|
script:
|
||||||
|
- git submodule update --init tools/cmake
|
||||||
|
- git submodule update --init libs/conversion
|
||||||
|
- git submodule update --init libs/function_types
|
||||||
|
- git submodule update --init libs/fusion
|
||||||
|
- git submodule update --init libs/typeof
|
||||||
|
- mkdir __build__ && cd __build__
|
||||||
|
- cmake .. -DBUILD_SHARED_LIBS=ON -DBOOST_ENABLE_CMAKE=ON -DBOOST_REGEX_INCLUDE_EXAMPLES=ON
|
||||||
|
- cmake --build .
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
env: TOOLSET=gcc COMPILER=g++ CXXSTD=03
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
env: TOOLSET=gcc COMPILER=g++-4.7 CXXSTD=03,11
|
env: TOOLSET=gcc COMPILER=g++-4.7 CXXSTD=03,11
|
||||||
addons:
|
addons:
|
||||||
|
Reference in New Issue
Block a user