Created
March 28, 2018 10:10
-
-
Save ITechRoof/3bfec92eba06f5dec01f6b565e663190 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
jobs: | |
build: | |
macos: | |
xcode: "9.0" | |
dependencies: | |
override: | |
- bundle install | |
steps: | |
- checkout | |
- 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: Build and run tests | |
command: fastlane scan | |
environment: | |
SCAN_DEVICE: iPhone 8 | |
SCAN_SCHEME: WebTests | |
- run: | |
command: mv fastlane/test_output/report.junit fastlane/test_output/report.xml | |
when: always | |
- store_test_results: | |
path: fastlane/test_output | |
- store_artifacts: | |
path: /tmp/test-results | |
destination: scan-test-results | |
- store_artifacts: | |
path: ~/Library/Logs/scan | |
destination: scan-logs | |
workflows: | |
version: 2 | |
build-and-test: | |
macos: | |
xcode: "9.0" | |
jobs: | |
- build | |
- test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment