Skip to content

Commit 4ca172c

Browse files
authored
restrict symfony version (#124)
* restrict symfony version
1 parent c77af2d commit 4ca172c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,23 @@ matrix:
3232
env:
3333
- PIMCORE_SKELETON_BRANCH="tags/v2.3.0"
3434
- DACHCOM_TEST_SECTION=ecs
35-
- name: "Codeception Tests (Pimcore 6.0.x, Symfony ^4.0, PHP 7.3)"
35+
- name: "Codeception Tests (Pimcore 6.0.x, Symfony ^4.3, PHP 7.3)"
3636
sudo: required
3737
php: 7.3
3838
env:
39+
- SYMFONY_VERSION="~4.3.0"
3940
- PIMCORE_SKELETON_BRANCH="tags/v2.0.0"
40-
- name: "Codeception Tests (Pimcore 6.1.x, Symfony ^4.0, PHP 7.3)"
41+
- name: "Codeception Tests (Pimcore 6.1.x, Symfony ^4.3, PHP 7.3)"
4142
sudo: required
4243
php: 7.3
4344
env:
45+
- SYMFONY_VERSION="~4.3.0"
4446
- PIMCORE_SKELETON_BRANCH="tags/v2.1.0"
45-
- name: "Codeception Tests (Pimcore 6.2.x, Symfony ^4.0, PHP 7.3)"
47+
- name: "Codeception Tests (Pimcore 6.2.x, Symfony ^4.3, PHP 7.3)"
4648
sudo: required
4749
php: 7.3
4850
env:
51+
- SYMFONY_VERSION="~4.3.0"
4952
- PIMCORE_SKELETON_BRANCH="tags/v2.2.0"
5053
- name: "Codeception Tests (Pimcore 6.3.x, Symfony ^4.0, PHP 7.2)"
5154
sudo: required

tests/_support/Helper/PimcoreCore.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,9 @@ protected function setConfiguration($configuration = null)
184184
$class = $this->getContainer()->getParameter('kernel.container_class');
185185
$cacheDir = $this->kernel->getCacheDir();
186186

187-
touch($cacheDir . '/' . $class . '.php');
187+
unlink($cacheDir . '/' . $class . '.php');
188188
}
189189

190-
// otherwise cache invalidator is not detecting config changes!
191-
sleep(1);
192-
193190
$bundleName = getenv('DACHCOM_BUNDLE_NAME');
194191
$bundleClass = getenv('DACHCOM_BUNDLE_HOME');
195192

0 commit comments

Comments
 (0)