mirror of
https://github.com/boostorg/boost.git
synced 2026-07-21 13:53:34 +00:00
db00470938
building.
69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
# Use, modification, and distribution are
|
|
# subject to the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
# Copyright Rene Rivera 2015-2016.
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- develop
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- p7zip-full
|
|
- docutils-common
|
|
- docutils-doc
|
|
- docbook
|
|
- docbook-xml
|
|
- docbook-xsl
|
|
- xsltproc
|
|
- doxygen
|
|
- dvipsk-ja
|
|
- texlive
|
|
|
|
env:
|
|
matrix:
|
|
- TRAVIS_EMPTY_JOB_WORKAROUND=true
|
|
|
|
matrix:
|
|
exclude:
|
|
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true
|
|
include:
|
|
# Simple integrated status tests check.
|
|
- env: STATUS_TESTS=true
|
|
|
|
# Build release package for LF end-of-line style text files.
|
|
- env: RELEASE_BUILD=LF
|
|
|
|
# Build release package for CRLF end-of-line style text files (i.e. for Windows).
|
|
- env: RELEASE_BUILD=CRLF
|
|
|
|
before_install:
|
|
# Fetch the script to do the actual building/testing.
|
|
- |
|
|
if [[ "${STATUS_TESTS}" == "true" ]]; then
|
|
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_status.py" -O ../script.py
|
|
fi
|
|
- |
|
|
if [[ "${RELEASE_BUILD}" == "LF" || "${RELEASE_BUILD}" == "CRLF" ]]; then
|
|
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -O ../script.py
|
|
fi
|
|
|
|
install: python "${TRAVIS_BUILD_DIR}/../script.py" install
|
|
before_script: python "${TRAVIS_BUILD_DIR}/../script.py" before_script
|
|
script: python "${TRAVIS_BUILD_DIR}/../script.py" script
|
|
after_success: python "${TRAVIS_BUILD_DIR}/../script.py" after_success
|
|
after_failure: python "${TRAVIS_BUILD_DIR}/../script.py" after_failure
|
|
after_script: python "${TRAVIS_BUILD_DIR}/../script.py" after_script
|