Skip to content

Commit

Permalink
test: Skip Ruby versions with some libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jan 22, 2023
1 parent 0cc984d commit bb6b7b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@ rvm:
- ruby-head
matrix:
allow_failures:
- rvm: 3.0
env: MATRIX_LIBRARY=gsl
- rvm: 3.1
env: MATRIX_LIBRARY=gsl
- rvm: 3.2
env: MATRIX_LIBRARY=gsl
- rvm: ruby-head
env: MATRIX_LIBRARY=gsl
- rvm: ruby-head
env: MATRIX_LIBRARY=narray
env: MATRIX_LIBRARY=matrix
- rvm: ruby-head
env: MATRIX_LIBRARY=narray
- rvm: 3.2
env: MATRIX_LIBRARY=nmatrix
- rvm: ruby-head
env: MATRIX_LIBRARY=matrix
env: MATRIX_LIBRARY=nmatrix
env:
- MATRIX_LIBRARY=gsl
- MATRIX_LIBRARY=narray
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source 'https://rubygems.org'

gem 'rb-gsl', '~> 1.16.0.2' if ENV['MATRIX_LIBRARY'] == 'gsl'
gem 'matrix' if ENV['MATRIX_LIBRARY'] == 'matrix'
gem 'narray', '~> 0.6.0.0' if ENV['MATRIX_LIBRARY'] == 'narray'
gem 'nmatrix', '~> 0.2' if ENV['MATRIX_LIBRARY'] == 'nmatrix'
gem 'numo-narray', '~> 0.9.2.1' if ENV['MATRIX_LIBRARY'] == 'numo'
Expand Down

0 comments on commit bb6b7b0

Please sign in to comment.