diff --git a/.travis.yml b/.travis.yml index ccbb38d..9536960 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,151 @@ services: - docker env: - matrix: - - PHP_VERSION=56 - - PHP_VERSION=70 - - PHP_VERSION=71 + matrix: + - PHP_VERSION=56 BUILD_SERVICE=applications + - PHP_VERSION=70 BUILD_SERVICE=applications + - PHP_VERSION=71 BUILD_SERVICE=applications + + - PHP_VERSION=56 BUILD_SERVICE=workspace + - PHP_VERSION=70 BUILD_SERVICE=workspace + - PHP_VERSION=71 BUILD_SERVICE=workspace + + - PHP_VERSION=56 BUILD_SERVICE=php-fpm + - PHP_VERSION=70 BUILD_SERVICE=php-fpm + - PHP_VERSION=71 BUILD_SERVICE=php-fpm + + - PHP_VERSION=56 BUILD_SERVICE=php-worker + - PHP_VERSION=70 BUILD_SERVICE=php-worker + - PHP_VERSION=71 BUILD_SERVICE=php-worker + + - PHP_VERSION=56 BUILD_SERVICE=nginx + - PHP_VERSION=70 BUILD_SERVICE=nginx + - PHP_VERSION=71 BUILD_SERVICE=nginx + + - PHP_VERSION=56 BUILD_SERVICE=blackfire + - PHP_VERSION=70 BUILD_SERVICE=blackfire + - PHP_VERSION=71 BUILD_SERVICE=blackfire + + - PHP_VERSION=56 BUILD_SERVICE=apache2 + - PHP_VERSION=70 BUILD_SERVICE=apache2 + - PHP_VERSION=71 BUILD_SERVICE=apache2 + + - PHP_VERSION=56 BUILD_SERVICE=hhvm + - PHP_VERSION=70 BUILD_SERVICE=hhvm + - PHP_VERSION=71 BUILD_SERVICE=hhvm + + - PHP_VERSION=56 BUILD_SERVICE=minio + - PHP_VERSION=70 BUILD_SERVICE=minio + - PHP_VERSION=71 BUILD_SERVICE=minio + + - PHP_VERSION=56 BUILD_SERVICE=mysql + - PHP_VERSION=70 BUILD_SERVICE=mysql + - PHP_VERSION=71 BUILD_SERVICE=mysql + + - PHP_VERSION=56 BUILD_SERVICE=percona + - PHP_VERSION=70 BUILD_SERVICE=percona + - PHP_VERSION=71 BUILD_SERVICE=percona + + - PHP_VERSION=56 BUILD_SERVICE=mssql + - PHP_VERSION=70 BUILD_SERVICE=mssql + - PHP_VERSION=71 BUILD_SERVICE=mssql + + - PHP_VERSION=56 BUILD_SERVICE=mariadb + - PHP_VERSION=70 BUILD_SERVICE=mariadb + - PHP_VERSION=71 BUILD_SERVICE=mariadb + + - PHP_VERSION=56 BUILD_SERVICE=postgres + - PHP_VERSION=70 BUILD_SERVICE=postgres + - PHP_VERSION=71 BUILD_SERVICE=postgres + + - PHP_VERSION=56 BUILD_SERVICE=postgres-postgis + - PHP_VERSION=70 BUILD_SERVICE=postgres-postgis + - PHP_VERSION=71 BUILD_SERVICE=postgres-postgis + + - PHP_VERSION=56 BUILD_SERVICE=neo4j + - PHP_VERSION=70 BUILD_SERVICE=neo4j + - PHP_VERSION=71 BUILD_SERVICE=neo4j + + - PHP_VERSION=56 BUILD_SERVICE=mongo + - PHP_VERSION=70 BUILD_SERVICE=mongo + - PHP_VERSION=71 BUILD_SERVICE=mongo + + - PHP_VERSION=56 BUILD_SERVICE=rethinkdb + - PHP_VERSION=70 BUILD_SERVICE=rethinkdb + - PHP_VERSION=71 BUILD_SERVICE=rethinkdb + + - PHP_VERSION=56 BUILD_SERVICE=redis + - PHP_VERSION=70 BUILD_SERVICE=redis + - PHP_VERSION=71 BUILD_SERVICE=redis + + - PHP_VERSION=56 BUILD_SERVICE=aerospike + - PHP_VERSION=70 BUILD_SERVICE=aerospike + - PHP_VERSION=71 BUILD_SERVICE=aerospike + + - PHP_VERSION=56 BUILD_SERVICE=memcached + - PHP_VERSION=70 BUILD_SERVICE=memcached + - PHP_VERSION=71 BUILD_SERVICE=memcached + + - PHP_VERSION=56 BUILD_SERVICE=beanstalkd + - PHP_VERSION=70 BUILD_SERVICE=beanstalkd + - PHP_VERSION=71 BUILD_SERVICE=beanstalkd + + - PHP_VERSION=56 BUILD_SERVICE=rabbitmq + - PHP_VERSION=70 BUILD_SERVICE=rabbitmq + - PHP_VERSION=71 BUILD_SERVICE=rabbitmq + + - PHP_VERSION=56 BUILD_SERVICE=beanstalkd-console + - PHP_VERSION=70 BUILD_SERVICE=beanstalkd-console + - PHP_VERSION=71 BUILD_SERVICE=beanstalkd-console + + - PHP_VERSION=56 BUILD_SERVICE=caddy + - PHP_VERSION=70 BUILD_SERVICE=caddy + - PHP_VERSION=71 BUILD_SERVICE=caddy + + - PHP_VERSION=56 BUILD_SERVICE=phpmyadmin + - PHP_VERSION=70 BUILD_SERVICE=phpmyadmin + - PHP_VERSION=71 BUILD_SERVICE=phpmyadmin + + - PHP_VERSION=56 BUILD_SERVICE=adminer + - PHP_VERSION=70 BUILD_SERVICE=adminer + - PHP_VERSION=71 BUILD_SERVICE=adminer + + - PHP_VERSION=56 BUILD_SERVICE=pgadmin + - PHP_VERSION=70 BUILD_SERVICE=pgadmin + - PHP_VERSION=71 BUILD_SERVICE=pgadmin + + - PHP_VERSION=56 BUILD_SERVICE=elasticsearch + - PHP_VERSION=70 BUILD_SERVICE=elasticsearch + - PHP_VERSION=71 BUILD_SERVICE=elasticsearch + + - PHP_VERSION=56 BUILD_SERVICE=certbot + - PHP_VERSION=70 BUILD_SERVICE=certbot + - PHP_VERSION=71 BUILD_SERVICE=certbot + + - PHP_VERSION=56 BUILD_SERVICE=mailhog + - PHP_VERSION=70 BUILD_SERVICE=mailhog + - PHP_VERSION=71 BUILD_SERVICE=mailhog + + - PHP_VERSION=56 BUILD_SERVICE=selenium + - PHP_VERSION=70 BUILD_SERVICE=selenium + - PHP_VERSION=71 BUILD_SERVICE=selenium + + - PHP_VERSION=56 BUILD_SERVICE=proxy + - PHP_VERSION=70 BUILD_SERVICE=proxy + - PHP_VERSION=71 BUILD_SERVICE=proxy + + - PHP_VERSION=56 BUILD_SERVICE=proxy2 + - PHP_VERSION=70 BUILD_SERVICE=proxy2 + - PHP_VERSION=71 BUILD_SERVICE=proxy2 + + - PHP_VERSION=56 BUILD_SERVICE=balancer + - PHP_VERSION=70 BUILD_SERVICE=balancer + - PHP_VERSION=71 BUILD_SERVICE=balancer + + - PHP_VERSION=56 BUILD_SERVICE=jenkins + - PHP_VERSION=70 BUILD_SERVICE=jenkins + - PHP_VERSION=71 BUILD_SERVICE=jenkins + - HUGO_VERSION=0.20.2 # Installing a newer Docker version diff --git a/travis-build.sh b/travis-build.sh index 8cabad8..66223d0 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -15,7 +15,7 @@ if [ -n "${PHP_VERSION}" ]; then sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${PHP_VERSION}/g" .env sed -i -- 's/=false/=true/g' .env cat .env - docker-compose build + docker-compose build ${BUILD_SERVICE} docker images fi