From ba03821bec2ba8f7970bed7ba6b4cc6c08dba12c Mon Sep 17 00:00:00 2001 From: Grzegorz Jakubiak Date: Fri, 21 Feb 2020 19:49:23 +0100 Subject: [PATCH] Add travis test and codecheck stages --- .travis.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 66ef9d9..b54fd58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,18 @@ language: ruby +rvm: + - 2.4 + - 2.5 + - 2.6 + - 2.7 services: - mongodb before_install: - gem update --system - gem install bundler - bundle update --bundler -after_script: - - bundle exec rubocop -rvm: - - 2.4 - - 2.5 - - 2.6 - - 2.7 +jobs: + include: + - stage: test + script: bundle exec rake + - stage: codecheck + script: bundle exec rubocop \ No newline at end of file