forked from mafidchao/webvtt
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
22 lines (17 loc) · 837 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: c
compiler:
- gcc
env:
# - BUILD_TYPE="GCC check" BUILD="make check" ANALYSIS="" ANALYSIS_ARGS="" AC_OPTIONS=""
- BUILD_TYPE="GCC distcheck" BUILD="make distcheck" ANALYSIS="" ANALYSIS_ARGS="" AC_OPTIONS="" PACKAGES=""
- BUILD_TYPE="GCC valgrind" BUILD="make check" ANALYSIS="" ANALYSIS_ARGS="" AC_OPTIONS="--enable-valgrind" PACKAGES="valgrind"
# - BUILD_TYPE="clang scan-build (without --status-bugs)" BUILD="make check" ANALYSIS="scan-build" ANALYSIS_ARGS="-v -v -k" AC_OPTIONS="" PACKAGES="clang"
before_install:
- '[[ -z "${PACKAGES}" ]] || sudo apt-get -qq update'
- '[[ -z "${PACKAGES}" ]] || sudo apt-get -qq install ${PACKAGES}'
script:
- "./bootstrap.sh"
- "${ANALYSIS} ./configure ${AC_OPTIONS}"
- "${ANALYSIS} ${ANALYSIS_ARGS} ${BUILD}"
notifications:
irc: "irc.freenode.net#seneca-webvtt"