diff --git a/.travis.yml b/.travis.yml index 45d9206..528f726 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,29 @@ language: bash jobs: include: + - 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: trusty name: "Zabbix 4.0 @ Ubuntu 14 trusty, PHP default" @@ -51,29 +74,6 @@ jobs: - 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"