Skip to content

Instantly share code, notes, and snippets.

@alouanemed
Created December 26, 2018 12:44
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 alouanemed/cf8243a8821ae70869f9ac02c86f667c to your computer and use it in GitHub Desktop.
Save alouanemed/cf8243a8821ae70869f9ac02c86f667c to your computer and use it in GitHub Desktop.
` 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