# disable the default submodule logic
# See https://gist.github.com/iedemam/9830045
git:
  submodules: false

before_install:
  # use sed to replace the SSH URL with the public URL, then init and update
  # submodules
  - sed -i 's/git@github.com:/git:\/\/github.com\//' .gitmodules
  - git submodule update --init --recursive
  
  - yarn
  - gem update --system
  - gem install bundler

language: ruby

rvm:
  - 2.3.6
  - 2.4.3
  - 2.5.0

script: bundle exec rspec

sudo: false

cache: bundler

# disable the default submodule logic
# See https://gist.github.com/iedemam/9830045
git:
  submodules: false

before_install:
  # Use sed to replace the SSH URL with the public URL, then init and update
  # submodules
  - sed -i 's/git@github.com:/git:\/\/github.com\//' .gitmodules
  - git submodule update --init --recursive
  
  # Install `//package.json` to get `semver`
  - yarn
  
  # Install Ansible
  - pip2 install ansible==2.4.1.0
  
  # Install gem
  - gem update --system
  - gem install bundler

language: ruby

rvm:
  - 2.3.6
  - 2.4.3
  - 2.5.0

script: bundle exec rspec

sudo: false

cache: bundler

Install Ansible to in Travis CI env
Install Ansible to in Travis CI env
