-
Notifications
You must be signed in to change notification settings - Fork 136
appveyor windows CI #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
appveyor windows CI #108
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "features/cucumber-tck"] | ||
path = features/cucumber-tck | ||
url = git://github.com/cucumber/cucumber-tck.git | ||
url = git://github.com/konserw/cucumber-tck.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
version: "{branch}-ci-{build}" | ||
image: Visual Studio 2015 | ||
|
||
platform: | ||
- x86 | ||
- x64 | ||
|
||
configuration: | ||
- Debug | ||
#- Release | ||
|
||
on_finish: | ||
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) | ||
|
||
environment: | ||
ruby_version: "200" | ||
matrix: | ||
- GENERATOR: '"Visual Studio 12 2013"' | ||
BOOST_ROOT: 'C:\Libraries\boost' | ||
BOOST_INCLUDEDIR: 'C:\Libraries\boost\boost' | ||
BOOST_LIBRARYDIR: 'C:\Libraries\boost\lib32-msvc-12.0' | ||
- GENERATOR: '"Visual Studio 12 2013"' | ||
BOOST_ROOT: 'C:\Libraries\boost_1_58_0' | ||
BOOST_INCLUDEDIR: 'C:\Libraries\boost_1_58_0\boost' | ||
BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_58_0\lib32-msvc-12.0' | ||
- GENERATOR: '"Visual Studio 14 2015"' | ||
BOOST_ROOT: 'C:\Libraries\boost_1_59_0' | ||
BOOST_INCLUDEDIR: 'C:\Libraries\boost_1_59_0\boost' | ||
BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_59_0\lib32-msvc-14.0' | ||
|
||
|
||
install: | ||
- git submodule init | ||
- git submodule update | ||
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH% | ||
- ruby --version | ||
- gem update --system --no-ri --no-rdoc -q > gem.log | ||
- gem install bundler --no-document | ||
- bundle install | ||
- ps: .\fixCucumber.ps1 | ||
|
||
build_script: | ||
- cmake -E make_directory build | ||
- cmake -E chdir build cmake -G%GENERATOR% -DCUKE_DISABLE_BOOST_TEST=on -DCUKE_ENABLE_EXAMPLES=on -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_INCLUDEDIR="%BOOST_INCLUDEDIR%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" .. | ||
- cmake --build build | ||
|
||
test_script: | ||
- cmake --build build --target RUN_TESTS | ||
- cmake --build build --target features | ||
|
||
notifications: | ||
- provider: Email | ||
to: | ||
# - cukes-devs@googlegroups.com | ||
- konserw@gmail.com | ||
subject: "[cucumber-cpp] AppVeyor Build" | ||
on_build_success: false | ||
on_build_failure: true | ||
on_build_status_changed: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cucumber-tck
updated
1 files
+7 −9 | step_definitions/cucumber_stepdefs.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
If ($env:ruby_version -match "200") { | ||
$path = "C:\Ruby200\lib\ruby\gems\2.0.0\gems\cucumber-2.0.0\lib\cucumber\formatter\ansicolor.rb" | ||
} Else { | ||
$path = "C:\Ruby193\lib\ruby\gems\1.9.1\gems\cucumber-2.0.0\lib\cucumber\formatter\ansicolor.rb" | ||
} | ||
|
||
(Get-Content $path) -replace '\ST\DERR.puts %', '#nope' | Set-Content $path | ||
(Get-Content $path) -replace ' Cucumber::', '#nope' | Set-Content $path | ||
(Get-Content $path) -replace '^Cucumber::', '#nope' | Set-Content $path | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to fix a problem in Cucumber 2.0.0... is it a documented problem? Can you post a link? Does it happen with Ruby 2.2 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more of a problem of how appveyor is implemented, i.e. it doesn't need any additional library to get colored output - just like on *nix - and cucumber thinks it is not possible on windows. See:
appveyor/ci#373
http://help.appveyor.com/discussions/suggestions/197-support-ansi-color-codes
It's not dependent on ruby version.
Bjorn Rasmusson wrote:
But AFAIR I tried newer cucumber-ruby and failed (when searching newest working ruby germs).