mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
Add CircleCI config
This commit is contained in:
parent
f7914eb643
commit
159b6770ad
39
.circleci/config.yml
Normal file
39
.circleci/config.yml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# 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: "10.1"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
|
||||||
|
# Get the submodule and build deps
|
||||||
|
- run:
|
||||||
|
name: Setup
|
||||||
|
command: bin/setup
|
||||||
|
|
||||||
|
# Build the app and run tests
|
||||||
|
- run:
|
||||||
|
name: Build and run tests
|
||||||
|
command: fastlane scan
|
||||||
|
environment:
|
||||||
|
SCAN_DEVICE: iPhone 6
|
||||||
|
SCAN_SCHEME: WebTests
|
||||||
|
|
||||||
|
# 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
|
||||||
Loading…
Reference in New Issue
Block a user