]> granicus.if.org Git - check/blob - .travis.yml
Merge pull request #221 from mikkoi/more-todo
[check] / .travis.yml
1 # Copyright (C) 2016 Branden Archer <b.m.archer4@gmail.com>
2 # Copyright (C) 2016 Joshua D. Boyd <jdboyd@jdboyd.net>
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the
16 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 # Boston, MA 02111-1307, USA.
18
19 sudo: required
20 language: c
21
22 os:
23   - linux
24   - osx
25
26 compiler:
27   - gcc
28   - clang
29
30 env:
31   - USE_CMAKE=YES
32   - USE_CMAKE=NO
33   - USE_CMAKE=NO EXTRA_ARGS="--disable-fork --disable-subunit --enable-snprintf-replacement --enable-timer-replacement"
34   - PRE_RELEASE_CHECK=YES
35
36 matrix:
37   exclude:
38   # There have been sporadic unit test failures with
39   # timeout tests on OSX using CMake. Until these are
40   # resolved, skipping these tests.
41   - os: osx
42     env: USE_CMAKE=YES
43   - os: osx
44     env: PRE_RELEASE_CHECK=YES
45
46   include:
47   # Only use scan-build once, the result should be the same
48   # regardless of OS.
49   - os: linux
50     compiler: clang
51     env: SCAN_BUILD=YES
52
53 before_script:
54  - if [ "$(uname)" = "Linux" ]; then sudo apt-get update; sudo apt-get install -y texlive texinfo texi2html doxygen; fi
55  - if [ "$(uname)" = "Darwin" ]; then brew update; brew cask install mactex; brew install texi2html texinfo doxygen; fi
56
57 script:
58   - chmod +x travis.sh
59   - ./travis.sh