I'm new to OpenSource project. Some projects which I browse use Travis. I have read the manual, but still cannot get what actually this Travis CI doing.
Could anyone explain it or give some links?
As a continuous integration platform, Travis CI supports your development process by automatically building and testing code changes, providing immediate feedback on the success of the change. Travis CI can also automate other parts of your development process by managing deployments and notifications.
Travis CI is a commercial CI tool whereas Jenkins is an open-source tool. Travis CI takes very less time to get started while Jenkins needs elaborate setup. Travis CI offers less customization option whereas Jenkins offers vast customization options.
Travis CI provides several PHP versions, all of which include XDebug and PHPUnit. Travis CI uses phpenv to manage the different PHP versions installed on the virtual machines. An example .travis.yml file that tests various PHP versions: language: php php: - '5.4' - '5.6' - '7.0' - hhvm # on Trusty only - nightly.
TravisCI (as the CI) suggests, is a "Continuous Integration" environment. Whenever you commit code changes, it can execute the unit tests, and other tools such as codesniffer, mess detection, copy-paste detection, document builder, etc.
Even more useful, it can run your tests against different versions of PHP.
It can then report on the results of those test and tools runs, so you always know whether your changes are stable or not, or have broken other parts of the code, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With