Skip to content

Commit

Permalink
Merge ezplatform/2.3 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
damianz5 committed Oct 26, 2018
2 parents 89c0e7c + db0c094 commit f3b100e
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 9 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -53,6 +53,7 @@ before_script:
# Behat will use behat.yml which is a copy of behat.yml.dist with hostnames update by doc/docker/selenium.yml
script: docker-compose exec --user www-data app sh -c "php $TEST_CMD"


after_failure:
# Will show us the last bit of the log of container's main processes
# (not counting shell process above running php and behat)
Expand Down
3 changes: 3 additions & 0 deletions app/config/cache_pool/cache.memcached.yml
@@ -1,4 +1,7 @@
# Reusable service for memcache cache for use in generic.php and plaformsh.php on demand
#
# For further reading on setup with eZ Platform and Memcached:
# https://doc.ezplatform.com/en/latest/guide/persistence_cache/#memcached
services:
cache.memcached:
parent: cache.adapter.memcached
Expand Down
3 changes: 3 additions & 0 deletions app/config/cache_pool/cache.redis.yml
@@ -1,4 +1,7 @@
# Reusable service for redis cache for use in generic.php and plaformsh.php on demand
#
# For further reading on setup with eZ Platform and Redis:
# https://doc.ezplatform.com/en/latest/guide/persistence_cache/#redis
services:
cache.redis:
parent: cache.adapter.redis
Expand Down
4 changes: 2 additions & 2 deletions app/config/config.yml
Expand Up @@ -139,13 +139,13 @@ jms_translation:
dirs:
- '%kernel.root_dir%/../vendor/ezsystems/ezplatform-admin-ui/src'
output_dir: '%kernel.root_dir%/../vendor/ezsystems/ezplatform-admin-ui/src/bundle/Resources/translations/'
excluded_dirs: [Behat, Tests]
excluded_dirs: [Behat, Tests, node_modules]
output_format: "xliff"
admin_modules:
dirs:
- '%kernel.root_dir%/../vendor/ezsystems/ezplatform-admin-ui-modules/src'
output_dir: '%kernel.root_dir%/../vendor/ezsystems/ezplatform-admin-ui-modules/Resources/translations/'
excluded_dirs: [Behat, Tests]
excluded_dirs: [Behat, Tests, node_modules]
output_format: "xliff"

ez_platform_automated_translation:
Expand Down
7 changes: 7 additions & 0 deletions behat.yml.dist
Expand Up @@ -26,6 +26,13 @@ default:

EzSystems\PlatformBehatBundle\ServiceContainer\EzBehatExtension: ~

Bex\Behat\ScreenshotExtension:
active_image_drivers: cloudinary
image_drivers:
cloudinary:
cloud_name: ezplatformtravis
preset: ezplatform

suites: ~

imports:
Expand Down
12 changes: 12 additions & 0 deletions bin/.travis/runcommand.sh
@@ -0,0 +1,12 @@
#!/bin/sh

set -e

if [ "$1" = "" ]; then
echo "Argument 1 variable for command arguments is empty, please pass arguments"
exit 1
fi

# Execute test command, need to use sh to get right exit code (docker/compose/issues/3379)
CMD=\"$@\"
docker-compose exec -T --user www-data app bash -c \""$CMD"\"
16 changes: 9 additions & 7 deletions composer.json
Expand Up @@ -35,14 +35,14 @@
"doctrine/orm": "^2.5",
"sensio/distribution-bundle": "^5.0.22",
"incenteev/composer-parameter-handler": "^2.1.3",
"ezsystems/ezpublish-kernel": "^7.2@dev",
"ezsystems/repository-forms": "^2.2@dev",
"ezsystems/ezpublish-kernel": "^7.3@dev",
"ezsystems/repository-forms": "^2.3@dev",
"ezsystems/ezplatform-solr-search-engine": "^1.5@dev",
"ezsystems/ez-support-tools": "^0.2@dev",
"ezsystems/ezplatform-http-cache": "^0.7@dev",
"ezsystems/ezplatform-admin-ui": "^1.2@dev",
"ezsystems/ezplatform-admin-ui-modules": "^1.2@dev",
"ezsystems/ezplatform-admin-ui-assets": "^3.0@dev",
"ezsystems/ezplatform-http-cache": "^0.8@dev",
"ezsystems/ezplatform-admin-ui": "^1.3@dev",
"ezsystems/ezplatform-admin-ui-modules": "^1.3@dev",
"ezsystems/ezplatform-admin-ui-assets": "^3.1@dev",
"ezsystems/ezplatform-design-engine": "^2.0@dev",
"ezsystems/ezplatform-standard-design": "^0.1@dev",
"ezsystems/ezplatform-cron": "^2.0@dev",
Expand Down Expand Up @@ -72,13 +72,15 @@
"behat/mink-extension": "^2.3.1",
"behat/mink-goutte-driver": "^1.2.1",
"behat/mink-selenium2-driver": "^1.3.1",
"bex/behat-screenshot": "^1.2",
"ezsystems/behatbundle": "^6.5.3",
"ezsystems/behat-screenshot-image-driver-cloudinary": "^1.0",
"phpunit/phpunit": "^6.4.4",
"sensio/generator-bundle": "^3.1.7",
"symfony/phpunit-bridge": "^3.4.11"
},
"conflict": {
"symfony/symfony": "3.4.9||3.4.12",
"symfony/symfony": "3.4.9||3.4.12||3.4.16",
"doctrine/dbal": "2.7.0"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions doc/docker/base-dev.yml
Expand Up @@ -10,6 +10,7 @@ services:
depends_on:
- db
environment:
- COMPOSER_MEMORY_LIMIT
- SYMFONY_ENV=${SYMFONY_ENV-dev}
- SYMFONY_DEBUG
- SYMFONY_HTTP_CACHE
Expand Down
1 change: 1 addition & 0 deletions doc/docker/base-prod.yml
Expand Up @@ -11,6 +11,7 @@ services:
depends_on:
- db
environment:
- COMPOSER_MEMORY_LIMIT
- SYMFONY_ENV=${SYMFONY_ENV-prod}
- SYMFONY_DEBUG
- SYMFONY_HTTP_CACHE
Expand Down

0 comments on commit f3b100e

Please sign in to comment.