3
0
mirror of https://github.com/rvalitov/zabbix-php-fpm.git synced 2023-11-05 03:30:27 +01:00
zabbix-php-fpm/.travis.yml
2020-07-21 06:41:40 +03:00

248 lines
7.0 KiB
YAML

---
language: bash
jobs:
include:
- os: linux
dist: trusty
name: "Zabbix 4.0 @ Ubuntu 14 trusty, PHP default"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu trusty main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
packages:
- ca-certificates
- curl
- grep
- sed
- gawk
- lsof
- jq
- libfcgi0ldbl
- unzip
- zabbix-agent
- zabbix-get
- php5-fpm
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
- os: linux
dist: xenial
name: "Zabbix 4.0 @ Ubuntu 16 xenial, PHP default"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu xenial main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
packages:
- ca-certificates
- curl
- grep
- sed
- gawk
- lsof
- jq
- libfcgi0ldbl
- unzip
- zabbix-agent
- zabbix-get
- php-fpm
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
- os: linux
dist: bionic
name: "Missing packages test"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
packages:
- bc
- curl
- grep
- sed
- gawk
- zabbix-agent
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
- sudo apt-get -y remove jq
- sudo apt-get -y remove libfcgi-bin libfcgi0ldbl
- sudo apt autoremove
- jq --version
script: bash tests/missing.sh
- os: linux
dist: bionic
name: "Zabbix 4.0 @ Ubuntu 18 bionic, PHP default"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
packages:
- bc
- ca-certificates
- curl
- grep
- sed
- gawk
- lsof
- jq
- libfcgi-bin
- unzip
- zabbix-agent
- zabbix-get
- php-fpm
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
- os: linux
dist: bionic
name: "Zabbix 4.4 @ Ubuntu 18 bionic, PHP default"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.4/ubuntu bionic main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
packages:
- bc
- ca-certificates
- curl
- grep
- sed
- gawk
- lsof
- jq
- libfcgi-bin
- unzip
- zabbix-agent
- zabbix-get
- php-fpm
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
- os: linux
dist: bionic
name: "Zabbix 5.0 @ Ubuntu 18 bionic, PHP default"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/5.0/ubuntu bionic main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
packages:
- bc
- ca-certificates
- curl
- grep
- sed
- gawk
- lsof
- jq
- libfcgi-bin
- unzip
- zabbix-agent
- zabbix-get
- php-fpm
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
- os: linux
dist: bionic
name: "Zabbix 4.0 @ Ubuntu 18 bionic, PHP 7.0-7.4"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
- sourceline: 'ppa:ondrej/php'
packages:
- bc
- ca-certificates
- curl
- grep
- sed
- gawk
- lsof
- jq
- libfcgi-bin
- unzip
- zabbix-agent
- zabbix-get
- php7.0-fpm
- php7.1-fpm
- php7.2-fpm
- php7.3-fpm
- php7.4-fpm
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
- os: linux
dist: bionic
name: "Zabbix 4.4 @ Ubuntu 18 bionic, PHP 7.0-7.4"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/4.4/ubuntu bionic main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
- sourceline: 'ppa:ondrej/php'
packages:
- bc
- ca-certificates
- curl
- grep
- sed
- gawk
- lsof
- jq
- libfcgi-bin
- unzip
- zabbix-agent
- zabbix-get
- php7.0-fpm
- php7.1-fpm
- php7.2-fpm
- php7.3-fpm
- php7.4-fpm
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
- os: linux
dist: bionic
name: "Zabbix 5.0 @ Ubuntu 18 bionic, PHP 7.0-7.4"
arch: amd64
addons:
apt:
sources:
- sourceline: 'deb http://repo.zabbix.com/zabbix/5.0/ubuntu bionic main'
key_url: "https://repo.zabbix.com/zabbix-official-repo.key"
- sourceline: 'ppa:ondrej/php'
packages:
- bc
- ca-certificates
- curl
- grep
- sed
- gawk
- lsof
- jq
- libfcgi-bin
- unzip
- zabbix-agent
- zabbix-get
- php7.0-fpm
- php7.1-fpm
- php7.2-fpm
- php7.3-fpm
- php7.4-fpm
before_script:
- sudo curl -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2
script: bash tests/all.sh
notifications:
email: false
env:
- SH=bash