Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
` version: 2
jobs:
build-and-test:
macos:
xcode: "10.0.0"
working_directory: /Users/distiller/project
environment:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
FL_OUTPUT_DIR: output
FASTLANE_LANE: test
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
- run:
name: Fetch CocoaPods Specs
command: |
curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
- run:
name: Install CocoaPods
command: pod install --verbose
- run:
name: fastlane
command: bundle exec fastlane $FASTLANE_LANE
- store_artifacts:
path: output
- store_test_results:
path: output/scan
workflows:
version: 2
build-test:
jobs:
- build-and-test:
filters:
branches:
only: devbranch `
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment