D
D
dmitriy2014-08-19 09:30:07
CodeIgniter
dmitriy, 2014-08-19 09:30:07

How to organize continuous integration on your own for a project on Codeigniter?

The goals are:
1. Running unit tests before building,
2. Automatic deployment to servers (test, production)
3. Integration with git (bitbacket.com)
4. Ability to add tasks: code documentation generation, disorder detector, metrics, reports, etc. .d.
As I understand it, it all comes down to the fact that:
1 you need a dedicated, virtual server and installed git, jenkins, phpunit, etc. software.
2. Or a third-party CI service in all installed software.
I would like to know the least financially costly ways to organize the above tasks.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Entelis, 2014-08-19
@DmitriyEntelis

I once spent about 2 days trying to set up jenkins.
It didn’t work out, he spat, in half a day he wrote his own simple deployment solution.
In general, there is PHPCI https://www.phptesting.org/ , they have some kind of saas solution (I don’t really understand how this is implemented), but I didn’t feel it live.

1
1Michael1, 2014-08-21
@1Michael1

TeamCity is very well suited
to the machine, a TS server is installed, in which there will already be 1 working agent.
up to 3 agents and 20 CI configurations is free, so you can use it freely without problems.
there are tutorials ( example ) how to set up projects with php
deploy, most likely you will have to do it "on your own" using, for example, capistrano (post from habra with an example) or phin

O
olekhy, 2014-11-27
@olekhy

github.com + travis-ci.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question