-
Notifications
You must be signed in to change notification settings - Fork 949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: reorder hack scripts #1750
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1750 +/- ##
===========================================
+ Coverage 14.16% 56.14% +41.98%
===========================================
Files 281 200 -81
Lines 56797 15657 -41140
===========================================
+ Hits 8043 8790 +747
+ Misses 47817 5769 -42048
- Partials 937 1098 +161
|
* refactor hack/build, hack/make.sh and Makefile * refactor .travis.yml to split testing into three jobs * use gometalinter to do all the linters Signed-off-by: Wei Fu <fhfuwei@163.com>
LGTM |
The change is very large. @YaoZengzeng , @Letty5411 and @chuanchang please take a look again. Thanks |
|
||
cd "$(dirname "${BASH_SOURCE[0]}")" | ||
source utils.sh | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to use absolute dir instead of cd
to source the utils.sh
Another question is do we need to modify related docs in pouch/doc? |
Ⅰ. Describe what this PR did
Reorder hack scripts and make the code coverage correct.
Ⅱ. Does this pull request fix one issue?
fixes #1582
Ⅲ. Describe how you did it
hack/install
dir to contains all about the dependencies install thinghack/testing
dir to contains all about the integration thing.However, I still maintain the
hack/build
andhack/make.sh
since both thedep
andrpm
packages need them. In the following the PR, we should remove the legacy code and refactor the package-scripts.Besides this, I also refactor
travis.yml
to splits the testing into three jobs.Based on this, we can use the tag for the job coverage so that
Codecov
can combine three kinds of coverages into one. Please check the comment created byCodecov
, like:33.52% <ø> (?)
37.67% <ø> (?)
20.33% <ø> (?)
Ⅳ. Describe how to verify it
Eye ball?
Ⅴ. Special notes for reviews