From f31bbcf1a943317408bb5aea7a0707c7df4c76cb Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Wed, 21 Mar 2018 20:53:01 +0100 Subject: [PATCH] CI: Return error when calens fails --- run_integration_tests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_integration_tests.go b/run_integration_tests.go index 91bd1fb95..c040199aa 100644 --- a/run_integration_tests.go +++ b/run_integration_tests.go @@ -282,7 +282,7 @@ func (env *TravisEnvironment) RunTests() error { // 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 errors.New("calens failed, files in changelog/ are not valid") } return nil