appveyor.yml: drop unnecessary 1.0. prefix
from version. Also I fixed the wrong way of using `for:`. Specifying `for` without `matrix.only` was just useless. This fix is for adding MinGW matrix in the future. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
984ba3da62
commit
7496672904
78
appveyor.yml
78
appveyor.yml
@ -1,5 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
version: '{build}'
|
||||||
shallow_clone: true
|
shallow_clone: true
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- trunk
|
||||||
platform:
|
platform:
|
||||||
- x64
|
- x64
|
||||||
environment:
|
environment:
|
||||||
@ -7,6 +11,43 @@ environment:
|
|||||||
zlib_version: "1.2.11"
|
zlib_version: "1.2.11"
|
||||||
matrix:
|
matrix:
|
||||||
- vs: "120"
|
- vs: "120"
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
notifications:
|
||||||
|
- provider: Webhook
|
||||||
|
url:
|
||||||
|
secure: iMINHMS0nZabaDsxN9omRDsekxzVvAAzEq5ev7lN6vZ6r9zNhl3/F/7POIVyahAwVFpRDeQT/iUugpAGWmOt3eGL/lZIdqiJFZ9DjPSkP68= # #alerts
|
||||||
|
method: POST
|
||||||
|
# "icon_url" is the url used by `provider: Slack`
|
||||||
|
body: >-
|
||||||
|
{{^isPullRequest}}
|
||||||
|
{
|
||||||
|
"attachments": [
|
||||||
|
{
|
||||||
|
"title": "Build {{projectName}} {{buildVersion}} {{status}}",
|
||||||
|
"fallback": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}",
|
||||||
|
"title_link": "{{buildUrl}}",
|
||||||
|
"text": "Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_",
|
||||||
|
{{#passed}}
|
||||||
|
"color": "#44ee44"
|
||||||
|
{{/passed}}
|
||||||
|
{{#failed}}
|
||||||
|
"color": "#ee4444"
|
||||||
|
{{/failed}}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"icon_url": "https://slack-files2.s3-us-west-2.amazonaws.com/bot_icons/2018-02-10/314363543719_48.png",
|
||||||
|
"username": "AppVeyor CI"
|
||||||
|
}
|
||||||
|
{{/isPullRequest}}
|
||||||
|
on_build_success: false
|
||||||
|
on_build_failure: true
|
||||||
|
on_build_status_changed: true
|
||||||
|
for:
|
||||||
|
-
|
||||||
|
matrix:
|
||||||
|
only:
|
||||||
|
- vs: "120"
|
||||||
install:
|
install:
|
||||||
- ver
|
- ver
|
||||||
- chcp
|
- chcp
|
||||||
@ -52,40 +93,3 @@ test_script:
|
|||||||
- nmake -l "TESTOPTS=-v -q" test-basic
|
- nmake -l "TESTOPTS=-v -q" test-basic
|
||||||
- nmake -l "TESTOPTS=-q -j%JOBS%" test-all RUBY_FORCE_TEST_JIT=1
|
- nmake -l "TESTOPTS=-q -j%JOBS%" test-all RUBY_FORCE_TEST_JIT=1
|
||||||
- nmake -l test-spec
|
- nmake -l test-spec
|
||||||
matrix:
|
|
||||||
fast_finish: true
|
|
||||||
for:
|
|
||||||
-
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- trunk
|
|
||||||
notifications:
|
|
||||||
- provider: Webhook
|
|
||||||
url:
|
|
||||||
secure: iMINHMS0nZabaDsxN9omRDsekxzVvAAzEq5ev7lN6vZ6r9zNhl3/F/7POIVyahAwVFpRDeQT/iUugpAGWmOt3eGL/lZIdqiJFZ9DjPSkP68= # #alerts
|
|
||||||
method: POST
|
|
||||||
# "icon_url" is the url used by `provider: Slack`
|
|
||||||
body: >-
|
|
||||||
{{^isPullRequest}}
|
|
||||||
{
|
|
||||||
"attachments": [
|
|
||||||
{
|
|
||||||
"title": "Build {{projectName}} {{buildVersion}} {{status}}",
|
|
||||||
"fallback": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}",
|
|
||||||
"title_link": "{{buildUrl}}",
|
|
||||||
"text": "Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_",
|
|
||||||
{{#passed}}
|
|
||||||
"color": "#44ee44"
|
|
||||||
{{/passed}}
|
|
||||||
{{#failed}}
|
|
||||||
"color": "#ee4444"
|
|
||||||
{{/failed}}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"icon_url": "https://slack-files2.s3-us-west-2.amazonaws.com/bot_icons/2018-02-10/314363543719_48.png",
|
|
||||||
"username": "AppVeyor CI"
|
|
||||||
}
|
|
||||||
{{/isPullRequest}}
|
|
||||||
on_build_success: false
|
|
||||||
on_build_failure: true
|
|
||||||
on_build_status_changed: true
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user