devilbox/.travis.yml
2016-12-26 23:03:46 +01:00

62 lines
1.2 KiB
YAML

language: bash
dist: trusty
sudo: required
###
### Attach services
###
services:
- docker
###
### Global variables
###
env:
matrix:
# Test httpd
- SERVER=httpd VERSION=apache-2.2
- SERVER=httpd VERSION=apache-2.4
- SERVER=httpd VERSION=nginx-stable
- SERVER=httpd VERSION=nginx-mainline
# Test mysql
- SERVER=mysql VERSION=mysql-5.5
- SERVER=mysql VERSION=mysql-5.6
- SERVER=mysql VERSION=mysql-5.7
- SERVER=mysql VERSION=mariadb-5.5
- SERVER=mysql VERSION=mariadb-10.0
- SERVER=mysql VERSION=mariadb-10.1
- SERVER=mysql VERSION=mariadb-10.2
# Test pgsql
- SERVER=pgsql VERSION=9.2
- SERVER=pgsql VERSION=9.3
- SERVER=pgsql VERSION=9.4
- SERVER=pgsql VERSION=9.5
- SERVER=pgsql VERSION=9.6
# Test php
- SERVER=php VERSION=php-fpm-5.4
- SERVER=php VERSION=php-fpm-5.5
- SERVER=php VERSION=php-fpm-5.6
- SERVER=php VERSION=php-fpm-7.0
- SERVER=php VERSION=php-fpm-7.1
###
### Berfore Install
###
before_install:
# List versions
- docker version
- docker-compose version
- whoami
- groups
- uname -a
###
### Test
###
script:
- .tests/test_single.sh . "${SERVER}" "${VERSION}"