Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use migrations in Travis #113

Merged
merged 1 commit into from
Feb 7, 2019
Merged

Conversation

Zales0123
Copy link
Member

Based on #112

Even though we've been providing migrations with this plugin for a long time, we didn't use them in a Travis CI configuration. And it was a mistake - it resulted in having them out-dated from time to time... and we could not be 100% sure they work 💃

I've copied migration files from Sylius-Standard to make it possible to set up a database with doctrine:migrations:migrate rather than doctrine:schema:create. And of course it kind of unnecessary code in a tests/Application, but on the other hand, this test application should simulate a Sylius-Standard app which is using a RefundPlugin. And, as we know, each Sylius-Standard app is provided with a bunch of migrations inside 🐃 🏇

@Zales0123 Zales0123 added the Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). label Feb 7, 2019
@Zales0123 Zales0123 requested a review from a team as a code owner February 7, 2019 13:47
@GSadee GSadee merged commit 113ab50 into Sylius:master Feb 7, 2019
@GSadee
Copy link
Member

GSadee commented Feb 7, 2019

Thanks, Mateusz! 🎉

@Zales0123 Zales0123 deleted the use-migrations-in-travis branch February 7, 2019 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants