diff --git a/.circleci/config.yml b/.circleci/config.yml index f10228a67..2bdbdacb2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,15 +42,14 @@ commands: for: type: string steps: + - ruby-setup - restore_cache: name: Restore Fastlane cache key: v1-gems-<< parameters.for >>-{{ checksum "fastlane/Gemfile.lock" }}-{{ arch }} - run: working_directory: fastlane name: Download Fastlane dependencies - command: | - chruby 2.6.3 - bundle install --path vendor/bundle + command: bundle install --path vendor/bundle - save_cache: name: Save Fastlane cache key: v1-gems-<< parameters.for >>-{{ checksum "fastlane/Gemfile.lock" }}-{{ arch }} @@ -200,6 +199,12 @@ commands: - store_artifacts: path: ~/mattermost-mobile/<> + ruby-setup: + steps: + - run: + name: Set Ruby Version + command: echo "ruby-2.6.3" > ~/.ruby-version + jobs: test: working_directory: ~/mattermost-mobile