make travisbuddy only to comment on failure
parent
3b0ae8371d
commit
bcef943bec
|
@ -19,4 +19,5 @@ script:
|
|||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
notifications:
|
||||
webhooks: https://www.travisbuddy.com/
|
||||
webhooks: https://www.travisbuddy.com/
|
||||
on_success: never # travisbuddy don't comment on successfull
|
|
@ -34,7 +34,7 @@ func TestIsValidEnv(t *testing.T) {
|
|||
for _, tc := range testCases {
|
||||
t.Run(tc.env, func(t *testing.T) {
|
||||
got := isValidEnv(tc.env)
|
||||
if got == tc.want { // Making it fail just to see travisbuddy work
|
||||
if got != tc.want {
|
||||
t.Errorf("isValidEnv(\"%v\") got %v; want %v", tc.env, got, tc.want)
|
||||
}
|
||||
|
||||
|
|
|
@ -343,7 +343,7 @@ func TestOptionallyHttpsFormattedUrlString(t *testing.T) {
|
|||
t.Errorf("\nhttpsFormattedURLString, Expected %v \nActual: %v \n\n", test.expectedHTTPSFormattedURLString, httpsFormattedURLString)
|
||||
}
|
||||
|
||||
if isHTTPSchemedURL == test.expectedIsHTTPSchemedURL {
|
||||
if isHTTPSchemedURL != test.expectedIsHTTPSchemedURL {
|
||||
t.Errorf("\nisHTTPSchemedURL, Expected %v \nActual: %v \n\n",
|
||||
test.expectedHTTPSFormattedURLString, httpsFormattedURLString)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue