Skip to content

Commit

Permalink
Fix travis install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Jan 16, 2018
1 parent 7ebe67f commit ca2b016
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ matrix:

install:
- composer install --dev --no-interaction -o
- composer run-script post-create-project-cmd
- composer run-script installer-scripts
- ./vendor/bin/simple-phpunit install

before_script:
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,19 @@
"cache:warmup": "symfony-cmd",
"assets:install --symlink --relative html": "symfony-cmd"
},
"installer-scripts": {
"doctrine:database:create": "bin/console doctrine:database:create",
"doctrine:schema:create": "bin/console doctrine:schema:create",
"eccube:fixtures:load": "bin/console eccube:fixtures:load"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
],
"post-create-project-cmd": [
"bin/console doctrine:database:create",
"bin/console doctrine:schema:create",
"bin/console eccube:fixtures:load",
"@installer-scripts",
"@auto-scripts"
]
},
Expand Down

0 comments on commit ca2b016

Please sign in to comment.