Skip to content

Instantly share code, notes, and snippets.

@tariq235
Created February 13, 2018 08:18
Show Gist options
  • Save tariq235/f340612738cc99cfbe6a02009ce5ad8b to your computer and use it in GitHub Desktop.
Save tariq235/f340612738cc99cfbe6a02009ce5ad8b to your computer and use it in GitHub Desktop.
circleci
version: 2
jobs:
build-and-test:
macos:
xcode: "9.2.0"
steps:
# Get the code from the VCS provider.
- checkout
# Download CocoaPods specs via HTTPS (faster than Git)
# and install CocoaPods.
- run:
name: Install CocoaPods
command: |
curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
pod install
# Run tests.
- run:
name: Run tests
command: fastlane scan
environment:
SCAN_DEVICE: iPhone 6
SCAN_SCHEME: WebTests
workflows:
version: 2
build:
jobs:
- build-and-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment