split build jobs

This commit is contained in:
Shao Yu Lung 2017-05-06 15:13:18 +08:00
parent 15d7cd1d35
commit e8b49a9fe5
2 changed files with 146 additions and 5 deletions

View File

@ -5,9 +5,150 @@ services:
env:
matrix:
- PHP_VERSION=56
- PHP_VERSION=70
- PHP_VERSION=71
- 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

View File

@ -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