Skip to content

Commit d7c6ddd

Browse files
committed
Merge branch 'master' of github.com:BitBagCommerce/SyliusCmsPlugin
2 parents 63d5921 + 4ff97ba commit d7c6ddd

3 files changed

Lines changed: 34 additions & 5 deletions

File tree

.travis.yml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,35 @@ dist: trusty
44

55
sudo: false
66

7-
php:
8-
- 7.2
9-
- 7.3
7+
matrix:
8+
include:
9+
# Sylius 1.4
10+
-
11+
php: 7.2
12+
env:
13+
- DEPENDENCY_VERSIONS="sylius/sylius:1.4.*"
14+
-
15+
php: 7.3
16+
env:
17+
- DEPENDENCY_VERSIONS="sylius/sylius:1.4.*"
18+
# Sylius 1.5
19+
-
20+
php: 7.2
21+
env:
22+
- DEPENDENCY_VERSIONS="sylius/sylius:1.5.*"
23+
-
24+
php: 7.3
25+
env:
26+
- DEPENDENCY_VERSIONS="sylius/sylius:1.5.*"
27+
# Sylius 1.6
28+
-
29+
php: 7.2
30+
env:
31+
- DEPENDENCY_VERSIONS="sylius/sylius:1.6.*"
32+
-
33+
php: 7.3
34+
env:
35+
- DEPENDENCY_VERSIONS="sylius/sylius:1.6.*"
1036

1137
cache:
1238
yarn: true
@@ -27,7 +53,8 @@ before_install:
2753
- mkdir -p tests/Application/public/media/image
2854

2955
install:
30-
- composer install --no-interaction --prefer-dist
56+
- composer require ${DEPENDENCY_VERSIONS} --no-update
57+
- composer update --no-interaction --prefer-dist
3158
- (cd tests/Application && yarn install)
3259

3360
before_script:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"require": {
1212
"php": "^7.2",
1313
"league/csv": "^9.1",
14-
"friendsofsymfony/ckeditor-bundle": "^1.1",
14+
"friendsofsymfony/ckeditor-bundle": "^1.1|^2.0",
1515
"stefandoorn/sitemap-plugin": "^1.0",
1616
"sylius/sylius": "^1.4"
1717
},

tests/Application/config/packages/twig.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ twig:
22
paths: ['%kernel.project_dir%/templates']
33
debug: '%kernel.debug%'
44
strict_variables: '%kernel.debug%'
5+
form_themes:
6+
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'

0 commit comments

Comments
 (0)