---
language: java
jdk:
  - oraclejdk8

# http://docs.travis-ci.com/user/migrating-from-legacy
sudo: false
cache: bundler
addons:
  apt:
    packages:
      - tree
before_install:
  - rvm install 2.2.1
  - rvm use 2.2.1

script:
  - bin/run-unit-tests-in-ci.sh
  - bin/run-journey-test-in-ci.sh

---
language: java
jdk:
  - oraclejdk8

# http://docs.travis-ci.com/user/migrating-from-legacy
sudo: false
cache: bundler
addons:
  apt:
    packages:
      - tree
before_install:
  - rvm install 2.2.5
  - rvm use 2.2.5

script:
  - bin/run-unit-tests-in-ci.sh
  - bin/run-journey-test-in-ci.sh

Use same version of Ruby X-API is: now 2.2.5.
Use same version of Ruby X-API is: now 2.2.5.
