[feature request] Verify Compiled Protos on Travis #3094
Labels
feature request
Requests for new features
intermediate
Issues suitable for developers moderately familiar with the codebase and LN
protos
travis
Modifications to the Travis CI system
As pointed out by @xsb in #2312, different authors may have different proto versions installed when doing development. To ensure all PRs use the correct of protoc and plugins, we should move to have Travis verify that the output is correct, and fail the build otherwise.
Steps to Completion
Makefile
, e.g.rpc-check
, that first runs therpc
target, and then asserts that the source tree is clean. This can be done by using$(shell git describe --dirty)
and asserting that the output doesn't contain the string"dirty"
rpc-check
target as a dependency totravis-race
,travis-itest
, andtravis-cover
, preferably afterlint
so that the more expensive operations are done only if the protos are sound.The text was updated successfully, but these errors were encountered: