forked from libcheck/check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (51 loc) · 1.77 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright (C) 2016 Branden Archer <[email protected]>
# Copyright (C) 2016 Joshua D. Boyd <[email protected]>
#
# 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