forked from boostorg/function
Fix dependency installation, add matrix to Travis
This commit is contained in:
90
.travis.yml
90
.travis.yml
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2016 Peter Dimov
|
# Copyright 2016, 2017 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)
|
||||||
|
|
||||||
@@ -6,6 +6,8 @@ language: cpp
|
|||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
python: "2.7"
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
@@ -15,53 +17,63 @@ branches:
|
|||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
|
|
||||||
|
env:
|
||||||
|
matrix:
|
||||||
|
- BOGUS_JOB=true
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
|
||||||
|
exclude:
|
||||||
|
- env: BOGUS_JOB=true
|
||||||
|
|
||||||
|
include:
|
||||||
|
- os: linux
|
||||||
|
compiler: g++
|
||||||
|
env: TOOLSET=gcc COMPILER=g++ CXXSTD=c++03
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
compiler: clang++
|
||||||
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++03
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
compiler: clang++
|
||||||
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++11
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
compiler: clang++
|
||||||
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++1y
|
||||||
|
|
||||||
|
- os: osx
|
||||||
|
compiler: clang++
|
||||||
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++03
|
||||||
|
|
||||||
|
- os: osx
|
||||||
|
compiler: clang++
|
||||||
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++11
|
||||||
|
|
||||||
|
- os: osx
|
||||||
|
compiler: clang++
|
||||||
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14
|
||||||
|
|
||||||
|
- os: osx
|
||||||
|
compiler: clang++
|
||||||
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++1z
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cd ..
|
- cd ..
|
||||||
- git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
|
- git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
|
||||||
- cd boost-root
|
- cd boost-root
|
||||||
- git submodule init libs/algorithm
|
- git submodule update --init tools/build
|
||||||
- git submodule init libs/align
|
- git submodule update --init libs/config
|
||||||
- git submodule init libs/assert
|
- git submodule update --init tools/boostdep
|
||||||
- git submodule init libs/bind
|
|
||||||
- git submodule init libs/chrono
|
|
||||||
- git submodule init libs/config
|
|
||||||
- git submodule init libs/core
|
|
||||||
- git submodule init libs/detail
|
|
||||||
- git submodule init libs/exception
|
|
||||||
- git submodule init libs/integer
|
|
||||||
- git submodule init libs/io
|
|
||||||
- git submodule init libs/iterator
|
|
||||||
- git submodule init libs/lambda
|
|
||||||
- git submodule init libs/move
|
|
||||||
- git submodule init libs/mpl
|
|
||||||
- git submodule init libs/numeric/conversion
|
|
||||||
- git submodule init libs/predef
|
|
||||||
- git submodule init libs/preprocessor
|
|
||||||
- git submodule init libs/range
|
|
||||||
- git submodule init libs/ratio
|
|
||||||
- git submodule init libs/rational
|
|
||||||
- git submodule init libs/smart_ptr
|
|
||||||
- git submodule init libs/static_assert
|
|
||||||
- git submodule init libs/system
|
|
||||||
- git submodule init libs/optional
|
|
||||||
- git submodule init libs/test
|
|
||||||
- git submodule init libs/throw_exception
|
|
||||||
- git submodule init libs/timer
|
|
||||||
- git submodule init libs/tuple
|
|
||||||
- git submodule init libs/type_index
|
|
||||||
- git submodule init libs/type_traits
|
|
||||||
- git submodule init libs/typeof
|
|
||||||
- git submodule init libs/utility
|
|
||||||
- git submodule init libs/winapi
|
|
||||||
- git submodule init tools/build
|
|
||||||
- git submodule update
|
|
||||||
- cp -r $TRAVIS_BUILD_DIR/* libs/function
|
- cp -r $TRAVIS_BUILD_DIR/* libs/function
|
||||||
|
- python tools/boostdep/depinst/depinst.py function
|
||||||
- ./bootstrap.sh
|
- ./bootstrap.sh
|
||||||
- ./b2 headers
|
- ./b2 headers
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- TOOLSET=gcc,clang
|
- |-
|
||||||
- if [ $TRAVIS_OS_NAME == osx ]; then TOOLSET=clang; fi
|
echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD ;" > ~/user-config.jam
|
||||||
- ./b2 libs/function/test toolset=$TOOLSET
|
- ./b2 libs/function/test toolset=$TOOLSET
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
Reference in New Issue
Block a user