general:
  branches:
    ignore:
      - /dev.*/

machine:
  environment:
    PATH: /opt/local/bin:${PATH}
    TINYTDS_VERSION: 2.1.0
    ACTIVERECORD_UNITTEST_HOST: localhost
    ACTIVERECORD_UNITTEST_DATASERVER: localhost
  services:
    - docker

dependencies:
  override:
    - sudo ./test/bin/install-openssl.sh
    - openssl version
    - sudo ./test/bin/install-freetds.sh
    - tsql -C
    - rvm-exec 2.2.10 bundle install
    - rvm-exec 2.3.8 bundle install
    - rvm-exec 2.4.5 bundle install
    - rvm-exec 2.5.3 bundle install

database:
  override:
    - echo "Hello"
  post:
    - docker info
    - ./test/bin/setup.sh

test:
  override:
    - rvm-exec 2.2.10 bundle exec rake test
    - rvm-exec 2.3.8 bundle exec rake test
    - rvm-exec 2.4.5 bundle exec rake test
    - rvm-exec 2.5.3 bundle exec rake test

general:
  branches:
    ignore:
      - /dev.*/

machine:
  environment:
    PATH: /opt/local/bin:${PATH}
    TINYTDS_VERSION: 2.1.0
    ACTIVERECORD_UNITTEST_HOST: localhost
    ACTIVERECORD_UNITTEST_DATASERVER: localhost
  services:
    - docker

dependencies:
  override:
    - sudo ./test/bin/install-openssl.sh
    - openssl version
    - sudo ./test/bin/install-freetds.sh
    - tsql -C
    - rvm-exec 2.3.8 bundle install
    - rvm-exec 2.4.5 bundle install
    - rvm-exec 2.5.3 bundle install
    - rvm-exec 2.6.0 bundle install

database:
  override:
    - echo "Hello"
  post:
    - docker info
    - ./test/bin/setup.sh

test:
  override:
    - rvm-exec 2.3.8 bundle exec rake test
    - rvm-exec 2.4.5 bundle exec rake test
    - rvm-exec 2.5.3 bundle exec rake test
    - rvm-exec 2.6.0 bundle exec rake test

Remove ruby 2.2 in favour of 2.6
Remove ruby 2.2 in favour of 2.6
