Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Reject improperly formatted golang files #58

Closed

Conversation

sysarcher
Copy link

Adds a CI script line that invokes gofmt on the current directory to avoid improperly formatted files.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 80.322% when pulling e246b64 on shrmrf:shrmrf/travis-enhancements into b1635d5 on intel:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 80.322% when pulling e246b64 on shrmrf:shrmrf/travis-enhancements into b1635d5 on intel:master.

@markdryan
Copy link
Contributor

@shrmrf gofmt is already enabled. It is one of the tools run by gometalinter.

https://github.com/intel/govmm/blob/master/.travis.yml#L22

Are you seeing cases where incorrectly formatted files are not being rejected by the travis builds?

@sysarcher
Copy link
Author

@markadax I think I committed and pushed to the wrong fork :(

I'm extremely sorry!!

@sysarcher sysarcher closed this Oct 15, 2018
@sysarcher sysarcher deleted the shrmrf/travis-enhancements branch October 15, 2018 13:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants