zoneminder/.travis.yml

59 lines
1.2 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:
ssh_known_hosts: zmrepo.zoneminder.com
2017-02-18 21:57:51 +08:00
apt:
sources:
- sourceline: ppa:iconnor/zoneminder
- key_url: http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4D0BF748776FFB04
2017-02-18 21:57:51 +08:00
packages:
- gdebi
- yum-utils
- patch
- git
- curl
- sshfs
env:
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:
- gcc
services:
- mysql
- docker
script:
- utils/packpack/startpackpack.sh
- utils/packpack/installzm.sh
before_deploy:
- openssl aes-256-cbc -K $encrypted_92a2ad18ba0b_key -iv $encrypted_92a2ad18ba0b_iv
-in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
2017-02-18 21:57:51 +08:00
deploy:
provider: packagecloud
username: "${PACKAGECLOUD_USER}"
repository: "${PACKAGECLOUD_REPO}"
token: "${PACKAGECLOUD_TOKEN}"
dist: "${OS}/${DIST}"
2017-02-18 21:57:51 +08:00
package_glob: build/*.{deb,rpm}
skip_cleanup: true
on:
branch: master
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"