plr icon indicating copy to clipboard operation
plr copied to clipboard

travis-ci build and test workflow

Open jangorecki opened this issue 9 years ago • 8 comments
trafficstars

Would be nice to have travis-ci build and test workflow, or at least the build part. User would have a live deploy documentation.

jangorecki avatar Jan 10 '16 23:01 jangorecki

Anyone willing to create a .travis.yml file ?

davecramer avatar Mar 09 '16 13:03 davecramer

optionally the .gitlab-ci.yml may be easier and more flexible (using gitlab.com as CI) as it allows to use any docker image, so all dependencies can be included in docker, and CI can just perform the build.

jangorecki avatar Mar 09 '16 13:03 jangorecki

I'm not familiar with gitlab.com as the CI, can it be wired into github ?

ISTR that github does support docker images

Dave Cramer

On 9 March 2016 at 08:57, Jan Gorecki [email protected] wrote:

optionally the .gitlab-ci.yml may be easier and more flexible (using gitlab.com as CI) as it allows to use any docker image, so all dependencies can be included in d ocker, and CI can just perform the build.

— Reply to this email directly or view it on GitHub https://github.com/jconway/plr/issues/16#issuecomment-194307313.

davecramer avatar Mar 09 '16 13:03 davecramer

Can be wired by git push to gitlab.com. AFAIK docker images can be used in travis only to be consumed as services, not as the base for your CI. According to https://docs.travis-ci.com/user/ci-environment/ it seems you are strictly limited to Ubuntu 12.04! (unless you use their beta) or OS X Mavericks It also limits you to the travis machines, while gitlab allows to plug own machines as runners, or if needed run CI offline locally.

jangorecki avatar Mar 09 '16 14:03 jangorecki

OK, but we can't wire gitlab into github... to build on every PR?

Dave Cramer

On 9 March 2016 at 09:02, Jan Gorecki [email protected] wrote:

AFAIK docker images can be used in travis only to consume services, not as the base for CI. According to https://docs.travis-ci.com/user/ci-environment/ it seems you are strictly limited to Ubuntu 12.04! (unless you use their beta) or OS X Mavericks

— Reply to this email directly or view it on GitHub https://github.com/jconway/plr/issues/16#issuecomment-194308687.

davecramer avatar Mar 09 '16 14:03 davecramer

I'm sure we can, using multi-remote on push, or using webhooks, or using push from travis. The purpose of this issue was to produce live up-to-date documentation of deploy. So gitlab CI would surely fulfil that.

jangorecki avatar Mar 09 '16 14:03 jangorecki

So why do we need docker ?

We should be able to build pl/r on travis-ci

Dave Cramer

On 9 March 2016 at 09:15, Jan Gorecki [email protected] wrote:

I'm pretty much sure we can, using multi-remote on push or using webhooks.

— Reply to this email directly or view it on GitHub https://github.com/jconway/plr/issues/16#issuecomment-194312093.

davecramer avatar Mar 09 '16 20:03 davecramer

To re-use the dependency included in the image and it's maintenance. You can do own images for anything but often it is desired to have maintenance of dependency.

jangorecki avatar Mar 09 '16 23:03 jangorecki