84 lines
2.8 KiB
YAML
84 lines
2.8 KiB
YAML
language: cpp
|
|
sudo: required
|
|
dist: xenial
|
|
git:
|
|
depth: 9999999
|
|
notifications:
|
|
irc: chat.freenode.net#zoneminder-dev
|
|
branches:
|
|
except:
|
|
- modern
|
|
cache: ccache
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: ppa:iconnor/zoneminder
|
|
- key_url: http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4D0BF748776FFB04
|
|
packages:
|
|
- gdebi
|
|
- yum-utils
|
|
- patch
|
|
- git
|
|
- curl
|
|
- sshfs
|
|
- sed
|
|
- binfmt-support
|
|
- qemu
|
|
- qemu-user-static
|
|
- dnsutils
|
|
- traceroute
|
|
install:
|
|
install:
|
|
- echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUW9tjP/Qt/00QaXPSMiDgQ9FvaK4EWRQ8FZgs+oW1tc0BupC6cxJYiLBI69l1HA1CvaqVxsbtHIbNSIxsK3MbhXR/q7MUzIp/4tgjhAlYDG1gAQzxWrm8Tt/UBhb2L8BaFAl2Ja3WBfJE00qzUrMb0pVYzif2CnUdxw/G08eOTvUKOBtN9hAZT6Qonz6QrHvOzHMaJnsr/WHtpKV/i23ktx0giN4l9cq2lk0sQTr3rQFOrg2e5kDJBdtLGmW/zGrRzoSE3EGgUkKp1Fzlt4XMjjjofL1h8kTDUYs2P8ndNEKfOetjDWQEMfmzD5qj+REl7TtY+DsBI98sSfRD9qYn isaac@zoneminder.com' >> $HOME/.ssh/known_hosts
|
|
- update-binfmts --enable qemu-arm
|
|
|
|
env:
|
|
- SMPFLAGS=-j4 OS=el DIST=7
|
|
- SMPFLAGS=-j4 OS=el DIST=8
|
|
- SMPFLAGS=-j4 OS=fedora DIST=28 DOCKER_REPO=knnniggett/packpack
|
|
- SMPFLAGS=-j4 OS=fedora DIST=29 DOCKER_REPO=knnniggett/packpack
|
|
- SMPFLAGS=-j4 OS=fedora DIST=30
|
|
- 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=ubuntu DIST=eoan DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
- SMPFLAGS=-j4 OS=debian DIST=jessie DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
- SMPFLAGS=-j4 OS=debian DIST=stretch DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
- SMPFLAGS=-j4 OS=debian DIST=buster DOCKER_REPO=iconzm/packpack USE_SFTP=yes
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=trusty ARCH=i386
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=xenial ARCH=i386
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=bionic ARCH=i386
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=disco ARCH=i386
|
|
- SMPFLAGS=-j4 OS=debian DIST=buster ARCH=i386
|
|
- SMPFLAGS=-j4 OS=debian DIST=stretch ARCH=i386
|
|
- SMPFLAGS=-j4 OS=raspbian DIST=stretch ARCH=armhf DOCKER_REPO=knnniggett/packpack
|
|
|
|
compiler:
|
|
- gcc
|
|
services:
|
|
- mysql
|
|
- docker
|
|
|
|
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 .
|
|
|
|
script:
|
|
- utils/packpack/startpackpack.sh
|
|
|
|
before_deploy:
|
|
- openssl aes-256-cbc -K $encrypted_62a62750aa73_key -iv $encrypted_62a62750aa73_iv -in ./utils/packpack/deploy_rsa.enc -out /tmp/deploy_rsa -d
|
|
- eval "$(ssh-agent -s)"
|
|
- chmod 600 /tmp/deploy_rsa
|
|
- ssh-add /tmp/deploy_rsa
|
|
|
|
deploy:
|
|
provider: script
|
|
skip_cleanup: true
|
|
script: utils/packpack/rsync_xfer.sh
|
|
on:
|
|
branch: master
|