Skip to content

Commit

Permalink
changes in appveyor in bundler version for Ruby version > 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Shekharrajak committed Mar 14, 2019
1 parent 8e58cd1 commit f2baf3e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,33 @@ environment:
matrix:
- RUBY_VERSION: "21-x64"
PLATFORM: "x64"
USE_BUNDLER_2XX: "no"
- RUBY_VERSION: "21"
PLATFORM: "Win32"
USE_BUNDLER_2XX: "no"
- RUBY_VERSION: "22-x64"
PLATFORM: "x64"
USE_BUNDLER_2XX: "no"
- RUBY_VERSION: "22"
PLATFORM: "Win32"
USE_BUNDLER_2XX: "no"
- RUBY_VERSION: "200-x64"
PLATFORM: "x64"
USE_BUNDLER_2XX: "no"
- RUBY_VERSION: "200"
PLATFORM: "Win32"
USE_BUNDLER_2XX: "no"

install:

- SET PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- if [%PLATFORM%] == [x64] set DEVKIT=C:\Ruby23-x64\DevKit
- if [%PLATFORM%] == [Win32] set DEVKIT=C:\Ruby23\DevKit
- "%DEVKIT%\\devkitvars.bat"
- gem install bundler --no-rdoc --no-ri
- if [[ "${USE_BUNDLER_2XX}" == "yes" ]];
then gem install bundler --no-document;
else gem install bundler --no-document -v '~> 1.6';
fi
- bundler env
- bundle install

Expand All @@ -49,7 +58,7 @@ build_script:
- gem install symengine-0.1.0.gem --verbose

test_script:
- gem install gem-path --no-ri --no-rdoc
- gem install gem-path --no-document
- gem path symengine > temp.txt
- set /p RUBY_GEM_DIR=<temp.txt
# Test ruby gem
Expand Down

0 comments on commit f2baf3e

Please sign in to comment.