Skip to content

Commit

Permalink
restrict symfony version (#49)
Browse files Browse the repository at this point in the history
* restrict symfony version
  • Loading branch information
solverat committed Nov 29, 2019
1 parent f05e7e9 commit ecac35a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,23 @@ matrix:
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.3.0"
- DACHCOM_TEST_SECTION=ecs
- name: "Codeception Tests (Pimcore 6.0.x, Symfony ^4.0, PHP 7.3)"
- name: "Codeception Tests (Pimcore 6.0.x, Symfony ^4.3, PHP 7.3)"
sudo: required
php: 7.3
env:
- SYMFONY_VERSION="~4.3.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.0.0"
- name: "Codeception Tests (Pimcore 6.1.x, Symfony ^4.0, PHP 7.3)"
- name: "Codeception Tests (Pimcore 6.1.x, Symfony ^4.3, PHP 7.3)"
sudo: required
php: 7.3
env:
- SYMFONY_VERSION="~4.3.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.1.0"
- name: "Codeception Tests (Pimcore 6.2.x, Symfony ^4.0, PHP 7.3)"
- name: "Codeception Tests (Pimcore 6.2.x, Symfony ^4.3, PHP 7.3)"
sudo: required
php: 7.3
env:
- SYMFONY_VERSION="~4.3.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.2.0"
- name: "Codeception Tests (Pimcore 6.3.x, Symfony ^4.0, PHP 7.2)"
sudo: required
Expand Down
5 changes: 1 addition & 4 deletions tests/_support/Helper/PimcoreCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,9 @@ protected function setConfiguration($configuration = null)
$class = $this->getContainer()->getParameter('kernel.container_class');
$cacheDir = $this->kernel->getCacheDir();

touch($cacheDir . '/' . $class . '.php');
unlink($cacheDir . '/' . $class . '.php');
}

// otherwise cache invalidator is not detecting config changes!
sleep(1);

$bundleName = getenv('DACHCOM_BUNDLE_NAME');
$bundleClass = getenv('DACHCOM_BUNDLE_HOME');

Expand Down

0 comments on commit ecac35a

Please sign in to comment.