[CONJ-162] implement TRAVIS CI Created: 2015-06-23 Updated: 2015-10-20 Resolved: 2015-07-17 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | 1.2.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Implement Travis-ci to launched integration test for every commit and pull request. first step :
second step : test HA / failover
|
| Comments |
| Comment by Julien Fritsch [ 2015-06-24 ] |
|
ratzpo and diego and pcrews before we go and use another CI system again, I would recommand Diego that you discuss with Patrick to try to reuse what we are implementing on Jenkins. Patrick promised me to compare various online CI including Travis. The reason is that we cannot afford to spread the CI systems (buildbot, jenkins, travis, ...) for a so small company & engineering team. |
| Comment by Vladislav Vaintroub [ 2015-06-25 ] |
|
In addition to Julien's comment, I'd like to point out that there is/used to be a buildbot for JDBC builds, so "test for every commit and pull request" is there. |
| Comment by patrick crews (Inactive) [ 2015-06-25 ] |
|
Travis is indeed promising, but I do not think it offers anything that Jenkins does not. While Jenkins can provide the capabilities listed as requirements for connectors, I do not think Travis can satisfy the demands of the Enterprise team, particularly in terms of supported platforms We have to test many platforms, including POWER8 machines - Jenkins allows one to plug in different slaves to provide for any necessary build environment. There are a number of ways to tie Jenkins and git repos together to provide testing and gating (kick off tests on each push, auto-merge changesets that do pass tests, etc), it is largely a matter of defining needs and setting things up appropriately. |
| Comment by Julien Pivotto [ 2015-06-30 ] |
|
I agree that travis is only a starting point. You can integrate several layers of CI with github: see https://github.com/puppet-community/puppet-corosync/pull/142 which is tested against pcci and travis. And if you go for Jenkins, take a look at what openstack does: https://github.com/openstack-infra/jenkins-job-builder At least now we have a public set of tests, and it did not take long to get that running. |
| Comment by diego dupin (Inactive) [ 2015-06-30 ] |
|
Actually, all the tests are working with only one instance of DB. Travis has the avantage of being simple, and to permit every contributor to check that CI is working easily. So the best may be a compromise : use the two of them :
|
| Comment by Julien Pivotto [ 2015-06-30 ] |
|
You can have travis and jenkins at the same time connected to the git repo, there is no need to hide this internally. |
| Comment by Daniel Black [ 2015-07-13 ] |
|
https://github.com/travis-ci/travis-build/pull/303 will help when they finish it off. http://next.travis-ci.com/ has ubuntu 14.04 |