This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JP Wright
committed
Jan 30, 2018
1 parent
cbc1505
commit 29a587b
Showing
49 changed files
with
739 additions
and
156 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# iOS CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/ios-migrating-from-1-2/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
|
||
# Specify the Xcode version to use | ||
macos: | ||
xcode: "9.2.0" | ||
|
||
shell: /bin/bash --login -o pipefail | ||
|
||
working_directory: /Users/distiller/project | ||
environment: | ||
FL_OUTPUT_DIR: /Users/distiller/project/output | ||
FASTLANE_LANE: test | ||
|
||
steps: | ||
- checkout | ||
|
||
# Install RubyGems from cache | ||
- 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 | ||
|
||
# Install Cocoapods | ||
- 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: bundle exec pod install | ||
|
||
# Build the app and run tests | ||
- run: | ||
name: Build and run tests | ||
command: bundle exec fastlane $FASTLANE_LANE | ||
environment: | ||
SCAN_DEVICE: iPhone 6 | ||
|
||
|
||
- run: | ||
command: cp $FL_OUTPUT_DIR/scan/report.junit $FL_OUTPUT_DIR/scan/results.xml | ||
when: always | ||
- store_artifacts: | ||
path: /Users/distiller/project/output | ||
- store_test_results: | ||
path: /Users/distiller/project/output/scan | ||
# # Collect XML test results data to show in the UI, | ||
# # and save the same XML files under test-results folder | ||
# # in the Artifacts tab | ||
# - store_test_results: | ||
# path: test_output/report.xml | ||
# - store_artifacts: | ||
# path: /tmp/test-results | ||
# destination: scan-test-results | ||
# - store_artifacts: | ||
# path: ~/Library/Logs/scan | ||
# destination: scan-logs | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,8 @@ Pods/ | |
|
||
# Xcode | ||
xcuserdata | ||
|
||
|
||
# Fastlane | ||
/test_output | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby-2.4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
#!/usr/bin/ruby | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'cocoapods' | ||
gem 'cocoapods-deintegrate' | ||
gem 'cocoapods-clean' | ||
gem 'dotenv' | ||
gem 'fastlane' | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
app_identifier "the-example-app.swift" # The bundle identifier of your app | ||
apple_id "jp@contentful.com" # Your Apple email address | ||
|
||
team_id "RWJ5E97L7R" # Developer Portal Team ID | ||
|
||
# you can even provide different app identifiers, Apple IDs and team names per lane: | ||
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
###################### More Options ###################### | ||
# If you want to have even more control, check out the documentation | ||
# https://github.com/fastlane/fastlane/blob/master/deliver/Deliverfile.md | ||
|
||
|
||
###################### Automatically generated ###################### | ||
# Feel free to remove the following line if you use fastlane (which you should) | ||
|
||
app_identifier "the-example-app.swift" # The bundle identifier of your app | ||
username "jp@contentful.com" # your Apple ID user |
Oops, something went wrong.