79 lines
2.1 KiB
YAML
79 lines
2.1 KiB
YAML
language: cpp
|
|
sudo: required
|
|
dist: trusty
|
|
git:
|
|
depth: 9999999
|
|
notifications:
|
|
irc: chat.freenode.net#zoneminder-dev
|
|
branches:
|
|
except:
|
|
- modern
|
|
cache: ccache
|
|
addons:
|
|
ssh_known_hosts: zmrepo.zoneminder.com
|
|
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:
|
|
- update-binfmts --enable qemu-arm
|
|
|
|
env:
|
|
- 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
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=trusty
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=xenial
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=bionic DOCKER_REPO=iconzm/packpack
|
|
- SMPFLAGS=-j4 OS=ubuntu DIST=disco
|
|
- SMPFLAGS=-j4 OS=debian DIST=buster DOCKER_REPO=iconzm/packpack
|
|
- SMPFLAGS=-j4 OS=debian DIST=stretch DOCKER_REPO=iconzm/packpack
|
|
- 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
|