-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix appveyor setting for JRuby #1706
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,21 +3,19 @@ version: '{build}' | |
| skip_tags: true | ||
|
|
||
| environment: | ||
| JRUBY_OPTS: "--dev -J-Xmx1024M --debug" | ||
| matrix: | ||
| - ruby_version: "21" | ||
| - ruby_version: "21-x64" | ||
| - ruby_version: "jruby-9.0.4.0" | ||
| - ruby_version: "Ruby21" | ||
| - ruby_version: "Ruby21-x64" | ||
| - ruby_version: "jruby-9.0.0.0" | ||
|
|
||
| cache: | ||
| - vendor/bundle | ||
|
|
||
| install: | ||
| - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% | ||
| - ruby --version | ||
| - gem --version | ||
| - SET PATH=C:\%ruby_version%\bin;%PATH% | ||
| - gem install bundler | ||
| - bundler --version | ||
| - bundle platform | ||
| - bundle env | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm guessing
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, it will output more useful and correct information about its environments: https://ci.appveyor.com/project/bf4/active-model-serializers/build/10/job/0846cedglubbskwo#L10
https://ci.appveyor.com/project/mtsmfm/active-model-serializers/build/3/job/k31toapvkg9osoli#L7 We don't have to take care about that to use |
||
| - bundle install --path=vendor/bundle --retry=3 --jobs=3 | ||
|
|
||
| test_script: | ||
|
|
||
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.
why are we lowering the Jruby version? and putting the JRUBY_OPTS globally?
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.
Only available jruby-9.0.0.0 on appveyor:
https://ci.appveyor.com/project/mtsmfm/active-model-serializers/build/1
Yeah, I went same way for travis but it is not smart 😕
https://github.com/rails-api/active_model_serializers/blob/master/.travis.yml#L25-L26
Should I apply patch for that on this PR or create another PR?