GitHub user dcaba opened a pull request:
https://github.com/apache/mesos/pull/165
mesoscon eu - hackatron exercise - CI using travis
Hi,
reusing some of the work my colleague @danigiri did (mesos-build-helper)
, i've adapted (and incorporated into the project) some scripts that, inside a
container:
* resolves the compilation dependencies
* compiles
* and execute the tests
So TravisCI can execute this on branches and when triggering PRs against
the project (currently is active, but does nothing out of adding red flags)...
Pending to do:
* actual error checking (probably we want to break the build if make test
fails)
* remove some references to mesos_version (current scripts pick the latest
checked out version)
That's it for now... let me know if it makes sense to complete the work
(you probably are covering CI in a different way), but having this integrated
in github may be good for contributors. Example of job that travis executed:
https://travis-ci.org/dcaba/mesos/builds/157089050
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dcaba/mesos CI
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mesos/pull/165.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #165
----
commit 1c448d3e2e9f982e73a486f8e29268218bf15559
Author: daniel-caballero <[email protected]>
Date: 2016-09-02T11:29:55Z
adding initial controller for the cibuild
commit 1a21165bc29dd02d8111c5b40e1090721aa5abf4
Author: daniel-caballero <[email protected]>
Date: 2016-09-02T12:50:20Z
bringing mesos-build-helper to the project, as we need to share the same
project to build this original project without depending on external resources
commit 42b20b271dffa79aef5436899bca3d310fe07925
Author: daniel-caballero <[email protected]>
Date: 2016-09-02T13:00:44Z
compilation still broken, but first basic travis build
commit 53237deb2c417580e6222e73494335e7fbdda7ed
Author: daniel-caballero <[email protected]>
Date: 2016-09-02T13:03:54Z
compilation still broken, but first basic travis build
commit 8e6ed40bbac9a3ef50bfb844be29a364e4c78ab1
Author: daniel-caballero <[email protected]>
Date: 2016-09-02T13:06:40Z
travis with docker support
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---