pipe-dream / laravel-create

Create Laravel projects really fast
1.31k stars 109 forks source link

Apply fixes from StyleCI #13

Closed mateusjunges closed 5 years ago

mateusjunges commented 5 years ago

This package apply some fixes from StyeleCI

ajthinking commented 5 years ago

Thanks @mateusjunges, this is great 😄 May I ask you, how to set checks like that up when developing? Im using VS Code.

mateusjunges commented 5 years ago

I have a package on my github accout that have styleci and travisci checks. you can check it here. Basically, you need to create a .styleci.yml file and allow styleci to have access to the repository where you want to add those checks. You can do it here. The check occur in every push to your branch, and, if there are some issues, style ci create a pull request fixing it.

For TravisCI you need a config file, which looks like this one.

Now, protect your master branch, and you will only be able to merge pull requests after pass those checks.

Hope it helps!

ajthinking commented 5 years ago

Thanks, appreciate it! Adding this to the TODO list for now (https://trello.com/b/R11mhfdy/pipe-dream)

mateusjunges commented 5 years ago

Ok. Contact me if you need help for something!