language: ruby

bundler_args: --without development

env:
  global:
    - ILL_PATRON_STATUSES=[51,37,55,31]
    - ALEPH_BASE_URL=http://aleph.library.edu
    - ALEPH_REST_URL=http://aleph.library.edu:1891/rest-dlf
    - PRIMO_BASE_URL=http://primo.library.edu
    - LOGIN_URL=https://dev.login.library.nyu.edu
    - PASSIVE_LOGIN_PATH=/login/passive
    - SSO_LOGOUT_PATH=/logout
    - NS_BX_TOKEN=NS_BX_TOKEN

services:
  - memcached

before_script:
  - mysql -e 'create database getit_test;'
  - RAILS_ENV=test bundle exec rake db:schema:load

script: "RAILS_ENV=test bundle exec rake"

rvm:
  # - jruby-19mode # JRuby (1.9)
  # - rbx-19mode
  - 2.1.9
  - 2.2.5
  - 2.3.1

git:
  submodules: false

notifications:
  email:
    - lib-webservices@nyu.edu

sudo: false

language: ruby

bundler_args: --without development

env:
  global:
    - ILL_PATRON_STATUSES=[51,37,55,31]
    - ALEPH_BASE_URL=http://aleph.library.edu
    - ALEPH_REST_URL=http://aleph.library.edu:1891/rest-dlf
    - PRIMO_BASE_URL=http://primo.library.edu
    - LOGIN_URL=https://dev.login.library.nyu.edu
    - PASSIVE_LOGIN_PATH=/login/passive
    - SSO_LOGOUT_PATH=/logout
    - NS_BX_TOKEN=NS_BX_TOKEN

services:
  - memcached

before_script:
  - mysql -e 'create database getit_test;'
  - RAILS_ENV=test bundle exec rake db:schema:load

script: "RAILS_ENV=test bundle exec rake"

rvm:
  # - jruby-19mode # JRuby (1.9)
  # - rbx-19mode
  # - 2.1.9
  - 2.2.5
  - 2.3.1

git:
  submodules: false

notifications:
  email:
    - lib-webservices@nyu.edu

sudo: false

Remove support for Ruby 2.1.x
Remove support for Ruby 2.1.x
