mirror of
https://github.com/octoleo/restic.git
synced 2024-11-28 07:46:36 +00:00
Run calens on Travis
This commit is contained in:
parent
ca1430184f
commit
75f90ca303
@ -96,6 +96,7 @@ func (env *TravisEnvironment) Prepare() error {
|
||||
"github.com/NebulousLabs/glyphcheck",
|
||||
"github.com/golang/dep/cmd/dep",
|
||||
"github.com/restic/rest-server/cmd/rest-server",
|
||||
"github.com/restic/calens",
|
||||
}
|
||||
|
||||
for _, pkg := range pkgs {
|
||||
@ -285,6 +286,11 @@ func (env *TravisEnvironment) RunTests() error {
|
||||
return err
|
||||
}
|
||||
|
||||
// check that the entries in changelog/ are valid
|
||||
if err := run("calens"); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "calens failed, files in changelog/ are not valid\n")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user