Compare commits

...
+59 -21
View File
@@ -20,21 +20,21 @@ compiler: gcc
addons:
apt:
packages:
- p7zip-full
- docutils-common
- docutils-doc
- python-docutils
- docbook
- docbook-xml
- docbook-xsl
- xsltproc
- doxygen
- dvipsk-ja
- texlive
- sshpass
- ghostscript
- libsaxonhe-java
ssh_known_hosts: frs.sourceforge.net
# - p7zip-full
# - docutils-common
# - docutils-doc
# - python-docutils
# - docbook
# - docbook-xml
# - docbook-xsl
# - doxygen
# - dvipsk-ja
# - texlive
# - sshpass
# - ghostscript
# - libsaxonhe-java
# ssh_known_hosts: frs.sourceforge.net
env:
matrix:
@@ -55,11 +55,13 @@ matrix:
- env: SCRIPT=ci_boost_status RELEASE=1
# Run 'quick' tests.
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=gcc CXXSTD=03,11
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=gcc CXXSTD=03,11 DIST=xenial
dist: xenial
compiler: g++
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=clang CXXSTD=03,11
compiler: clang++
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=gcc CXXSTD=14,17 DIST=bionic
dist: bionic
compiler: g++
# Build Boost
- env: SCRIPT=ci_boost_build TOOLSET=gcc CXXSTD=11
@@ -69,6 +71,43 @@ matrix:
- env: SCRIPT=ci_boost_build TOOLSET=gcc CXXSTD=11 RELEASE=1
compiler: g++
# Build Boost with CMake
- env: CMAKE_BUILD=1
compiler: g++
before_script: true
before_install: true
after_success: true
after_failure: true
after_script: true
install:
- git submodule update --init
script:
- mkdir __build && cd __build
- cmake -DBOOST_ENABLE_CMAKE=ON -DBoost_VERBOSE=ON -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF ..
- cmake --build .
# Test Boost with CMake
- env: CMAKE_TEST=1
compiler: g++
before_script: true
before_install: true
after_success: true
after_failure: true
after_script: true
install:
- git submodule update --init
script:
- mkdir __build && cd __build
- cmake -DBOOST_ENABLE_CMAKE=ON -DBoost_VERBOSE=ON -DBUILD_TESTING=ON ..
- cmake --build .
- ctest --output-on-failure -R quick
# # Run tests for the library updated by this commit.
# - env: SCRIPT=ci_boost_test_library TOOLSET=gcc CXXSTD=11
# compiler: g++
@@ -84,10 +123,9 @@ matrix:
before_install:
# Fetch the scripts to do the actual building/testing.
- |
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ..
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P ..
rvm install 2.3.3
- wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ..
- wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P ..
# rvm install 2.3.3
install: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" install
before_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" before_script