2013-09-23 20:28:10 +08:00
|
|
|
language: cpp
|
2016-02-13 13:22:44 +08:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2017-06-02 01:09:22 +08:00
|
|
|
git:
|
|
|
|
depth: 9999999
|
2013-09-23 20:33:02 +08:00
|
|
|
notifications:
|
2017-02-27 22:38:58 +08:00
|
|
|
irc: chat.freenode.net#zoneminder-dev
|
2013-09-25 08:39:34 +08:00
|
|
|
branches:
|
|
|
|
except:
|
2017-02-27 22:38:58 +08:00
|
|
|
- modern
|
2016-07-24 07:26:10 +08:00
|
|
|
cache: ccache
|
2014-11-29 05:02:22 +08:00
|
|
|
addons:
|
2017-02-27 22:38:58 +08:00
|
|
|
ssh_known_hosts: zmrepo.zoneminder.com
|
2017-02-18 21:57:51 +08:00
|
|
|
apt:
|
|
|
|
sources:
|
2017-02-27 22:38:58 +08:00
|
|
|
- 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
|
2017-02-27 22:38:58 +08:00
|
|
|
- sshfs
|
2017-06-01 04:53:06 +08:00
|
|
|
- sed
|
2018-02-20 09:31:22 +08:00
|
|
|
- binfmt-support
|
|
|
|
- qemu
|
|
|
|
- qemu-user-static
|
2018-04-21 21:41:12 +08:00
|
|
|
- dnsutils
|
|
|
|
- traceroute
|
2018-02-20 09:31:22 +08:00
|
|
|
install:
|
|
|
|
- update-binfmts --enable qemu-arm
|
|
|
|
|
2017-02-27 22:38:58 +08:00
|
|
|
env:
|
2019-01-19 23:32:40 +08:00
|
|
|
- SMPFLAGS=-j4 OS=el DIST=7
|
|
|
|
- SMPFLAGS=-j4 OS=fedora DIST=28 DOCKER_REPO=knnniggett/packpack
|
|
|
|
- SMPFLAGS=-j4 OS=fedora DIST=29 DOCKER_REPO=knnniggett/packpack
|
2019-10-09 00:31:01 +08:00
|
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=trusty DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=xenial DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=bionic DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=disco DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
|
|
- SMPFLAGS=-j4 OS=debian DIST=buster DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
|
|
- SMPFLAGS=-j4 OS=debian DIST=stretch DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
2019-01-19 23:32:40 +08:00
|
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=trusty ARCH=i386
|
|
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=xenial ARCH=i386
|
2019-09-09 20:22:58 +08:00
|
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=bionic ARCH=i386
|
|
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=disco ARCH=i386
|
2019-09-09 22:04:57 +08:00
|
|
|
- SMPFLAGS=-j4 OS=debian DIST=buster ARCH=i386
|
|
|
|
- SMPFLAGS=-j4 OS=debian DIST=stretch ARCH=i386
|
2019-01-19 23:32:40 +08:00
|
|
|
- SMPFLAGS=-j4 OS=raspbian DIST=stretch ARCH=armhf DOCKER_REPO=knnniggett/packpack
|
2018-02-20 09:31:22 +08:00
|
|
|
|
2017-02-27 22:38:58 +08:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
- docker
|
2019-01-19 23:32:40 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- name: eslint
|
|
|
|
install: npm install -g eslint@5.12.0 eslint-config-google@0.11.0 eslint-plugin-html@5.0.0 eslint-plugin-php-markup@0.2.5
|
|
|
|
script: eslint --ext .php,.js .
|
|
|
|
|
2013-09-24 00:18:17 +08:00
|
|
|
script:
|
2017-02-27 22:38:58 +08:00
|
|
|
- utils/packpack/startpackpack.sh
|
|
|
|
|
|
|
|
before_deploy:
|
2017-04-18 03:05:16 +08:00
|
|
|
- openssl aes-256-cbc -K $encrypted_62a62750aa73_key -iv $encrypted_62a62750aa73_iv -in ./utils/packpack/deploy_rsa.enc -out /tmp/deploy_rsa -d
|
2017-02-27 22:38:58 +08:00
|
|
|
- eval "$(ssh-agent -s)"
|
|
|
|
- chmod 600 /tmp/deploy_rsa
|
|
|
|
- ssh-add /tmp/deploy_rsa
|
|
|
|
|
2017-02-18 21:57:51 +08:00
|
|
|
deploy:
|
2017-02-27 23:45:08 +08:00
|
|
|
provider: script
|
2017-02-18 21:57:51 +08:00
|
|
|
skip_cleanup: true
|
2017-02-27 23:45:08 +08:00
|
|
|
script: utils/packpack/rsync_xfer.sh
|
2017-03-06 04:02:02 +08:00
|
|
|
on:
|
|
|
|
branch: master
|