google / jsinterop-base

Utilities for GWT and J2CL to interact with JavaScript beyond JsInterop
Apache License 2.0
67 stars 16 forks source link

TravisCI integration #11

Closed realityforge closed 5 years ago

realityforge commented 5 years ago

TravisCI integration driven by the google/elemental2#82 issue.

This has yet to be successfully tested as master does not currently build. A fix will be submitted in a separate pull request.

jDramaix commented 5 years ago

The fix for building jsinterop-base on mac is discussed on #8

I'll do the fix internally and then push here

realityforge commented 5 years ago

Force pushed another update to move to using ./bazel_build_test.sh and bazel 0.23.0

gkdn commented 5 years ago

Is there any way to reuse travis configuration across projects?

realityforge commented 5 years ago

No that I am aware of :(

Internally we generate the .travis.yml from a project descriptor but that relies on in-house tooling and is no where near general enough.

gkdn commented 5 years ago

Our internal CI that we use for open-source already has can publish build status and add the badge. Is it worthwhile to do Travis?

realityforge commented 5 years ago

I am not sure.

For the google internal team - I suspect it offers little to no value.

For those of us outside it is nice for the following reasons:

I would also like to see mail outs to some central list so people can get push notifications when a repository starts to fail. Although that is down the track somewhat.

To minimize some of the cruft in the .travis.yml configuration it was suggested that I investigate bazelisk which could help manage the bazel version and install. Essentially you store the version in .bazelversion and run bazelisk and it is responsible for doing the magic of making sure bazel is up to date. I have yet to investigate to see if it actually improves the situation but it was an option.

gkdn commented 5 years ago

Ok these are all fair arguments. It just unfortunate to update 4 copies of the same file; if we could reduce the duplication that would help a lot.

realityforge commented 5 years ago

Thanks!