Call go fmt in travis

Not all checks are passing yet but we should still enforce
the most basic one.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2017-03-21 23:36:18 -07:00
parent 26fe49a7bc
commit 7473b2125a
2 changed files with 10 additions and 9 deletions

View File

@ -21,6 +21,7 @@ install:
- export PATH=$PATH:/tmp/protobuf/bin/
script:
- make fmt
- make binaries
- make coverage
- sudo PATH=$PATH GOPATH=$GOPATH make root-coverage

View File

@ -12,16 +12,16 @@ import "gogoproto/gogo.proto";
// The Mount type follows the structure of the mount syscall, including a type,
// source, target and options.
message Mount {
// Type defines the nature of the mount.
string type = 1;
// Type defines the nature of the mount.
string type = 1;
// Source specifies the name of the mount. Depending on mount type, this
// may be a volume name or a host path, or even ignored.
string source = 2;
// Source specifies the name of the mount. Depending on mount type, this
// may be a volume name or a host path, or even ignored.
string source = 2;
// Target path in container
string target = 3;
// Target path in container
string target = 3;
// Options specifies zero or more fstab style mount options.
repeated string options = 4;
// Options specifies zero or more fstab style mount options.
repeated string options = 4;
}