2013-09-23 20:28:10 +08:00
|
|
|
language: cpp
|
2016-02-13 13:22:44 +08:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
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
|
2016-07-24 07:26:10 +08:00
|
|
|
cache: ccache
|
2014-11-29 05:02:22 +08:00
|
|
|
addons:
|
|
|
|
sauce_connect:
|
|
|
|
username: "zoneminder"
|
|
|
|
access_key: "046ec7c1-c598-4e7e-949a-f86e725d1722"
|
2013-09-23 20:28:10 +08:00
|
|
|
env:
|
2017-02-18 21:57:51 +08:00
|
|
|
matrix:
|
|
|
|
- OS=el DIST=6
|
|
|
|
- OS=el DIST=7
|
|
|
|
- OS=fedora DIST=24
|
|
|
|
- OS=fedora DIST=25
|
|
|
|
- OS=ubuntu DIST=trusty
|
|
|
|
- OS=ubuntu DIST=xenial
|
2013-09-23 20:28:10 +08:00
|
|
|
compiler:
|
2017-02-18 21:57:51 +08:00
|
|
|
- gcc
|
2016-12-06 21:12:36 +08:00
|
|
|
services:
|
2017-02-18 21:57:51 +08:00
|
|
|
- mysql
|
|
|
|
- docker
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2017-02-18 23:04:52 +08:00
|
|
|
# We need this ppa for libsys-meminfo-perl
|
2017-02-18 21:57:51 +08:00
|
|
|
- sourceline: 'ppa:iconnor/zoneminder'
|
|
|
|
- key_url: 'http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4D0BF748776FFB04'
|
|
|
|
packages:
|
|
|
|
- gdebi
|
|
|
|
- yum-utils
|
|
|
|
- patch
|
|
|
|
- git
|
|
|
|
- curl
|
2013-09-24 00:18:17 +08:00
|
|
|
script:
|
2017-02-18 21:57:51 +08:00
|
|
|
- utils/packpack/startpackpack.sh
|
2017-02-20 00:18:59 +08:00
|
|
|
- utils/packpack/installzm.sh
|
2017-02-18 21:57:51 +08:00
|
|
|
deploy:
|
|
|
|
# Deploy packages to PackageCloud
|
|
|
|
provider: packagecloud
|
|
|
|
username: ${PACKAGECLOUD_USER}
|
|
|
|
repository: ${PACKAGECLOUD_REPO}
|
|
|
|
token: ${PACKAGECLOUD_TOKEN}
|
|
|
|
dist: ${OS}/${DIST}
|
|
|
|
package_glob: build/*.{deb,rpm}
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
|
|
|
|
|