Skip to content

Commit c66bbe7

Browse files
committed
Add a CircleCI config file to build on MacOS
1 parent 60a57d8 commit c66bbe7

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.circleci/config.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# iOS CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/ios-migrating-from-1-2/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
9+
# Specify the Xcode version to use
10+
macos:
11+
xcode: "8.3.3"
12+
13+
steps:
14+
- checkout
15+
16+
# Install CocoaPods
17+
- run:
18+
name: Install CocoaPods
19+
command: pod install
20+
21+
# Build the app and run tests
22+
- run:
23+
name: Build and run tests
24+
command: fastlane scan
25+
environment:
26+
SCAN_DEVICE: iPhone 6
27+
SCAN_SCHEME: WebTests
28+
29+
# Collect XML test results data to show in the UI,
30+
# and save the same XML files under test-results folder
31+
# in the Artifacts tab
32+
- store_test_results:
33+
path: test_output/report.xml
34+
- store_artifacts:
35+
path: /tmp/test-results
36+
destination: scan-test-results
37+
- store_artifacts:
38+
path: ~/Library/Logs/scan
39+
destination: scan-logs

0 commit comments

Comments
 (0)