Blame .travis.yml

Packit 0b5880
# Copyright (C) 2016 Branden Archer <b.m.archer4@gmail.com>
Packit 0b5880
# Copyright (C) 2016 Joshua D. Boyd <jdboyd@jdboyd.net>
Packit 0b5880
#
Packit 0b5880
# This library is free software; you can redistribute it and/or
Packit 0b5880
# modify it under the terms of the GNU Lesser General Public
Packit 0b5880
# License as published by the Free Software Foundation; either
Packit 0b5880
# version 2.1 of the License, or (at your option) any later version.
Packit 0b5880
#
Packit 0b5880
# This library is distributed in the hope that it will be useful,
Packit 0b5880
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 0b5880
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 0b5880
# Lesser General Public License for more details.
Packit 0b5880
#
Packit 0b5880
# You should have received a copy of the GNU Lesser General Public
Packit 0b5880
# License along with this library; if not, write to the
Packit 0b5880
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit 0b5880
# Boston, MA 02111-1307, USA.
Packit 0b5880
Packit 0b5880
Packit 0b5880
language: c
Packit 0b5880
Packit 0b5880
os:
Packit 0b5880
  - linux
Packit 0b5880
  - osx
Packit 0b5880
Packit 0b5880
compiler:
Packit 0b5880
  - gcc
Packit 0b5880
  - clang
Packit 0b5880
Packit 0b5880
env:
Packit 0b5880
  - USE_CMAKE=YES
Packit 0b5880
  - USE_CMAKE=NO
Packit 0b5880
Packit 0b5880
addons:
Packit 0b5880
  apt:
Packit 0b5880
    packages:
Packit 0b5880
      - texinfo
Packit 0b5880
Packit 0b5880
matrix:
Packit 0b5880
  exclude:
Packit 0b5880
  # There have been sporadic unit test failures with
Packit 0b5880
  # timeout tests on OSX using CMake. Until these are
Packit 0b5880
  # resolved, skipping these tests.
Packit 0b5880
  - os: osx
Packit 0b5880
    env: USE_CMAKE=YES
Packit 0b5880
Packit 0b5880
script:
Packit 0b5880
  - mkdir build
Packit 0b5880
  - cd build
Packit 0b5880
  - if [ $USE_CMAKE == 'YES' ] ; then cmake .. ; fi
Packit 0b5880
  - if [ $USE_CMAKE == 'NO' ] ; then pushd .. ; autoreconf -i ; popd; fi
Packit 0b5880
  - if [ $USE_CMAKE == 'NO' ] ; then ../configure ; fi
Packit 0b5880
  - make
Packit 0b5880
  - if [ $USE_CMAKE == 'YES' ] ; then ctest -V ; fi
Packit 0b5880
  - if [ $USE_CMAKE == 'NO' ] ; then make check ; fi