boost/.travis.yml
Daniel James 5b980da49e Try installing ghostscript on travis
Tests are failing on travis, it might be because of this:

    /bin/sh: 2: gs: not found
    ...removing /home/travis/build/boostorg/build/boost/bin.v2/gs.check

So try installing ghostscript.
2017-06-23 23:05:03 +01:00

78 lines
1.9 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
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
- sshpass
- ghostscript
ssh_known_hosts: frs.sourceforge.net
env:
matrix:
- TRAVIS_EMPTY_JOB_WORKAROUND=true
matrix:
exclude:
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true
include:
# Simple integrated status tests check.
- env:
- SCRIPT=ci_boost_status
# Build release package for LF end-of-line style text files.
- env:
- SCRIPT=ci_boost_release
- EOL=LF
# Build release package for CRLF end-of-line style text files (i.e. for Windows).
- env:
- SCRIPT=ci_boost_release
- EOL=CRLF
# Library requirements tests.
- env:
- SCRIPT=ci_boost_library_check
allow_failures:
- env:
- SCRIPT=ci_boost_library_check
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 ..
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