Skip to content

Commit

Permalink
refine travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian authored and peze committed May 18, 2021
1 parent 8c7c7df commit 5e208e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ language: go

go:
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x

branches: # build only on these branches
only:
- master

notifications:
webhooks: https://oapi.dingtalk.com/robot/send?access_token=096ed387df243a6d60835aadeccc47165f3813bc7cb81cdd0cfeadfd28e3acc1
email: false
webhooks:
urls:
- https://oapi.dingtalk.com/robot/send?access_token=096ed387df243a6d60835aadeccc47165f3813bc7cb81cdd0cfeadfd28e3acc1
on_success: change
on_failure: always

Expand Down
2 changes: 1 addition & 1 deletion integration/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func Test_CreateInstanceWithCommonRequestWithPolicy(t *testing.T) {
request.TransToAcsRequest()
_, err = client.ProcessCommonRequest(request)
assert.NotNil(t, err)
assert.Contains(t, err.Error(), "QuotaExceed.ElasticQuota")
assert.Contains(t, err.Error(), "user order resource type")

policy := `{
"Version": "1",
Expand Down

0 comments on commit 5e208e6

Please sign in to comment.