# Copyright (C) 2016 Branden Archer # Copyright (C) 2016 Joshua D. Boyd # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. sudo: required language: c os: - linux - osx compiler: - gcc - clang env: - USE_CMAKE=YES - USE_CMAKE=NO - USE_CMAKE=NO EXTRA_ARGS="--disable-fork --disable-subunit --enable-snprintf-replacement --enable-timer-replacement" - PRE_RELEASE_CHECK=YES matrix: exclude: # There have been sporadic unit test failures with # timeout tests on OSX using CMake. Until these are # resolved, skipping these tests. - os: osx env: USE_CMAKE=YES - os: osx env: PRE_RELEASE_CHECK=YES include: # Only use scan-build once, the result should be the same # regardless of OS. - os: linux compiler: clang env: SCAN_BUILD=YES before_script: - if [ "$(uname)" = "Linux" ]; then sudo apt-get update; sudo apt-get install -y texlive texinfo texi2html doxygen; fi - if [ "$(uname)" = "Darwin" ]; then brew update; brew cask install mactex; brew install texi2html texinfo doxygen; fi script: - chmod +x travis.sh - ./travis.sh