Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (38 sloc) 1.23 KB
system:
docker: true
environment:
'DOCKER_APP': 'ci_memes'
'DEPLOY_DOCKER': 'true'
'DEPLOY_AWS_ECS': 'false'
'AWS_ECS_CLUSTER': 'default'
'AWS_ECS_SERVICE': 'ci_memes-service'
'AWS_ECS_TASK_DEFINITION': 'ci_memes'
# For sensitive values, use `solano config:add repo <key> <value>` from the cli
# See: http://docs.solanolabs.com/Setup/setting-environment-variables/#via-config-variables
# 'DOCKER_USER': '<set-with-cli>'
# 'DOCKER_EMAIL': '<set-with-cli>'
# 'DOCKER_PASSWORD': '<set-with-cli>'
# 'AWS_ACCESS_KEY_ID': '<set-with-cli>'
# 'AWS_SECRET_ACCESS_KEY': '<set-with-cli>'
# 'AWS_DEFAULT_REGION': '<set-with-cli>'
timeout_hook: 900
hooks:
pre_setup: |
set -e # #xit on error
./scripts/solano-docker_build.sh
# Create test database SQL and install dependencies
grep -v ^"CREATE DATABASE " create-db.sql | grep -v ^"USE " > create-test-db.sql
composer install
worker_setup: mysql -u$TDDIUM_DB_USER -p$TDDIUM_DB_PASSWORD $TDDIUM_DB_NAME < create-test-db.sql
post_build: ./scripts/solano-deploy.sh
php:
php_version: "5.6"
mysql:
adapter: 'mysql2'
tests:
- type: phpunit
mode: parallel
command: ./vendor/bin/solano-phpunit
config: phpunit.xml
files:
- tests/**_test.php
You can’t perform that action at this time.