Integration test connected to an FTP

5

Is it possible to e-or if there is a tool that allows me to send certain files from a project to an FTP after it passes a continuous integration test (Travis-ci for example)?

The idea is that after I commit and the test is completed and pass all tests, the changes that were successfully made are automatically published.

Are there other ways to get a result next to it or maybe some better solution?

In case of help, I currently use Git as a versioning tool, as a repository manager I use Github and for continuous integration I use Travis-ci.

    
asked by anonymous 26.03.2014 / 20:26

1 answer

2

I shared my question and some fellow developers helped me with some questions. I came to this link which is a page about travis-ci Custom Deployment specifically:

link

I was also given another solution. Use a task manager like grunt or gulp for example , and use a callback as after_success ( link ) from travis-ci to perform a task that connects to an FTP and sends the desired files.

I think both ideas are valid although each one is better for specific situations I believe.

I searched and found some add-ons that might help with this:

Grunt:

link link

Gulp:

link

I also figured out a possible mechanic with @Sergio's comment. I can use Webhook notification to send a notification to a specific URL and from there to deploy .

    
26.03.2014 / 21:25