Skip to content

Instantly share code, notes, and snippets.

@rromanchuk
Created February 18, 2019 06:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rromanchuk/f36989e2682cf9c7068f67081d6ace58 to your computer and use it in GitHub Desktop.
Save rromanchuk/f36989e2682cf9c7068f67081d6ace58 to your computer and use it in GitHub Desktop.
chruby: unknown Ruby: ruby-2.6.1
# .circleci/config.yaml
version: 2
jobs:
build-and-test:
macos:
xcode: "10.1.0"
working_directory: /Users/distiller/project
environment:
FL_OUTPUT_DIR: output
FASTLANE_LANE: test
shell: /bin/bash --login -eo pipefail
steps:
- checkout
- restore_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
- run: bundle check || bundle install --path vendor/bundle
- save_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- Pods
- run:
name: fastlane
command: bundle exec fastlane $FASTLANE_LANE
- store_artifacts:
path: output
- store_test_results:
path: output/scan
workflows:
version: 2
build-test-adhoc:
jobs:
- build-and-test
# fastlane/Fastfile
default_platform :ios
platform :ios do
before_all do
setup_circle_ci
end
desc "Runs all the tests"
lane :test do
scan
end
desc "Ad-hoc build"
lane :adhoc do
match(type: "adhoc")
gym(export_method: "ad-hoc")
end
end
source 'https://rubygems.org'
ruby '2.6.1'
gem 'cocoapods'
gem 'fastlane'
GEM
remote: https://rubygems.org/
specs:
#[...]
PLATFORMS
ruby
DEPENDENCIES
#[...]
RUBY VERSION
ruby 2.6.1p33
BUNDLED WITH
1.17.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment