mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
* Fix JRuby build on CI, with a suggestion from Travis CI support
per
13f30e287c
per https://twitter.com/jodosha/status/823522145745731586
31 lines
518 B
YAML
31 lines
518 B
YAML
version: 1.0.{build}-{branch}
|
|
|
|
skip_tags: true
|
|
|
|
environment:
|
|
JRUBY_OPTS: "--dev -J-Xmx1024M --debug"
|
|
matrix:
|
|
- ruby_version: "Ruby21"
|
|
- ruby_version: "Ruby21-x64"
|
|
|
|
cache:
|
|
- vendor/bundle
|
|
|
|
install:
|
|
- SET PATH=C:\%ruby_version%\bin;%PATH%
|
|
- gem update --system
|
|
- gem uninstall bundler -a -x
|
|
- gem install bundler -v 1.13.7
|
|
- bundle env
|
|
- bundle install --path=vendor/bundle --retry=3 --jobs=3
|
|
|
|
before_test:
|
|
- ruby -v
|
|
- gem -v
|
|
- bundle -v
|
|
|
|
test_script:
|
|
- bundle exec rake ci
|
|
|
|
build: off
|