Skip to content

Commit

Permalink
Merge branch '1.1'
Browse files Browse the repository at this point in the history
* 1.1:
  Fix installation errors by removing cache clearing during the process
  Test sylius:install command on Travis
  • Loading branch information
pamil committed Dec 30, 2017
2 parents 61e8330 + 33faa64 commit 1a1de2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions etc/travis/suites/application/script.sh
Expand Up @@ -12,6 +12,7 @@ commands=(
validate-yarn-packages
test-phpspec
test-phpunit
test-installer
test-fixtures
test-behat-without-javascript
test-behat-with-javascript
Expand Down
6 changes: 6 additions & 0 deletions etc/travis/suites/application/script/test-installer
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../../bash/common.lib.sh"

print_header "Testing (Installer)" "Sylius"
run_command "bin/console sylius:install --no-interaction --env=test_cached --no-debug -vvv"
Expand Up @@ -45,12 +45,10 @@ public function getCommands(InputInterface $input, OutputInterface $output, Ques
return [
'doctrine:database:create',
'doctrine:migrations:migrate' => ['--no-interaction' => true],
'cache:clear',
];
}

return array_merge($this->getRequiredCommands($input, $output, $questionHelper), [
'cache:clear',
'doctrine:migrations:version' => [
'--add' => true,
'--all' => true,
Expand Down

0 comments on commit 1a1de2f

Please sign in to comment.