zoneminder/.travis.yml

55 lines
1.1 KiB
YAML
Raw Normal View History

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"
branches:
except:
- modern
2016-07-24 07:26:10 +08:00
cache: ccache
addons:
sauce_connect:
username: "zoneminder"
access_key: "046ec7c1-c598-4e7e-949a-f86e725d1722"
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
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
script:
2017-02-18 21:57:51 +08:00
- utils/packpack/startpackpack.sh
- 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}"