# References:
# - https://docs.travis-ci.com/user/caching/#Bundler
language: ruby
cache: bundler
rvm:
  - 2.4.0
addons:
  code_climate:
    repo_token: $CODECLIMATE_REPO_TOKEN
before_install:
  # Prevent issues like the following happening:
  # https://github.com/sickill/rainbow/issues/44
  - gem update --system
  - gem install i18n rspec
script:
  - bin/bundle-audit check --update
  - bin/resume -l en
  - bin/resume -l it
  - bin/resume -l ja
  - bin/rspec spec/ --no-drb --format progress
  - bin/rubocop --display-cop-names
  - bin/rake resume
  - ruby resume.rb -l en
  - ruby resume.rb -l it
  - ruby resume.rb -l ja
after_success:
  - bin/codeclimate-test-reporter

# References:
# - https://docs.travis-ci.com/user/caching/#Bundler
language: ruby
cache: bundler
rvm:
  - 2.4.0
addons:
  code_climate:
    repo_token: $CODECLIMATE_REPO_TOKEN
before_install:
  # Prevent issues like the following happening:
  # https://github.com/sickill/rainbow/issues/44
  - gem update --system
  - gem install i18n rspec
  - bundle install
script:
  - bin/bundle-audit check --update
  - bin/resume -l en
  - bin/resume -l it
  - bin/resume -l ja
  - bin/rspec spec/ --no-drb --format progress
  - bin/rubocop --display-cop-names
  - bin/rake resume
  - ruby resume.rb -l en
  - ruby resume.rb -l it
  - ruby resume.rb -l ja
after_success:
  - bin/codeclimate-test-reporter

Install gems before CI begins
Install gems before CI begins
