Skip to content

Instantly share code, notes, and snippets.

@luismachado
Created April 2, 2018 10:09
Show Gist options
  • Save luismachado/563089521874cd7e6f63402c29a83936 to your computer and use it in GitHub Desktop.
Save luismachado/563089521874cd7e6f63402c29a83936 to your computer and use it in GitHub Desktop.
# iOS CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/ios-migrating-from-1-2/ for more details.
#
version: 2
jobs:
lint:
macos:
xcode: "9.2.0"
steps:
- checkout
- run:
name: Install Swiftlint
command: ./Scripts/install_swiftlint.sh
- run:
name: Lint
command: swiftlint
test:
macos:
xcode: "9.2.0"
steps:
- checkout
- run:
name: Update Dependencies
command: ./Scripts/update_dependencies.sh
- run:
name: Test
command: ./Scripts/test_and_coverage.sh
workflows:
version: 2
build-and-test:
jobs:
- lint:
filters:
branches:
ignore:
- /^docs[-\/].*$/
- /^wip[-\/].*$/
- /^.*-docs$/
- /^.*-wip$/
- test:
requires:
- lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment