2013-09-23 20:28:10 +08:00
|
|
|
language: cpp
|
2013-09-23 20:33:02 +08:00
|
|
|
notifications:
|
|
|
|
irc: "chat.freenode.net#zoneminder-dev"
|
2013-09-25 08:39:34 +08:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- modern
|
2013-09-23 20:28:10 +08:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- LD_LIBRARY_PATH="/usr/local/lib:/opt/libjpeg-turbo/lib:$LD_LIBRARY_PATH"
|
|
|
|
- DEB_HOST_GNU_TYPE=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
|
|
|
- DEB_BUILD_GNU_TYPE=$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
2013-09-28 18:04:41 +08:00
|
|
|
- CFLAGS="-DZM_FFMPEG_CVS -DHAVE_LIBCRYPTO -I/usr/local/include"
|
|
|
|
- CXXFLAGS="$CFLAGS"
|
|
|
|
matrix:
|
|
|
|
- ZM_BUILDMETHOD=cmake
|
|
|
|
- ZM_BUILDMETHOD=autotools
|
2013-09-23 20:28:10 +08:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
before_install:
|
2013-09-24 00:17:59 +08:00
|
|
|
install:
|
2014-06-27 19:19:58 +08:00
|
|
|
- travis_retry bash $TRAVIS_BUILD_DIR/utils/travis/install-deps.sh
|
|
|
|
- travis_wait bash $TRAVIS_BUILD_DIR/utils/travis/install-ffmpeg.sh
|
2013-09-23 20:51:31 +08:00
|
|
|
before_script:
|
2014-06-27 19:19:58 +08:00
|
|
|
- bash $TRAVIS_BUILD_DIR/utils/travis/bootstrap-zm.sh
|
2013-09-24 00:18:17 +08:00
|
|
|
script:
|
2014-06-27 19:19:58 +08:00
|
|
|
- bash $TRAVIS_BUILD_DIR/utils/travis/build-zm.sh
|
2014-06-27 20:00:49 +08:00
|
|
|
- bash $TRAVIS_BUILD_DIR/utils/travis/run-tests.sh
|