Created
December 26, 2018 12:44
-
-
Save alouanemed/cf8243a8821ae70869f9ac02c86f667c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
` 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