-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DISPATCH-1363 - Move RAT licence check from travis builds into a sub build #592
DISPATCH-1363 - Move RAT licence check from travis builds into a sub build #592
Conversation
@ganeshmurthy Is this what you've had in mind? |
@jdanekrh can you please rebase this PR with master and simply add a file with no license so that the RAT check fails? This is what I would like to see. If the RAT check fails, there should be a red X mark next to the checkin. When I click on the X mark I should be taken to a page which shows all builds passing but only the RAT failing (this is already happening). |
0fb488b
to
a9adf88
Compare
And the PR here #593 |
@jdanekrh ok thanks, I will wait for the builds to complete and check back in an hour or so to see how things have worked out. Will keep you posted. |
Codecov Report
@@ Coverage Diff @@
## master #592 +/- ##
==========================================
- Coverage 86.36% 86.35% -0.01%
==========================================
Files 90 90
Lines 20484 20483 -1
==========================================
- Hits 17691 17689 -2
- Misses 2793 2794 +1
Continue to review full report at Codecov.
|
@ganeshmurthy is Travis usually this slow during US work hours? |
@jdanekrh It has been slow the past couple of days but usually it is pretty good. |
The Travis rsources under /apache are shared for the entire ASF, so it depends what other projects have done, e.g if anyone is overly [ab]using the resources at a given time. Though these are only very small jobs by comparison to many, it still helps not to use branches in the main repo simply for testing variants of changes. You can enable and run Travis on your own repo fork (which is served from a far larger resource pool, and so is typically very fast to start building) and push to / pull request against the main repo only when you think its ready. |
a9adf88
to
d2930ea
Compare
Now easier to do when the
matrix
key is in place in.travis.yml
.Doing this also fixes the duplicated top level
cache
key in.travis.yml
we had.It appears that
matrix
is outdated syntax, andjobs
should be preferred, travis-ci/docs-travis-ci-com#1500. The doc page https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix usesmatrix.include
in the text andjobs.include
in the yaml samples. Task for another time.