Created
April 2, 2018 10:09
-
-
Save luismachado/563089521874cd7e6f63402c29a83936 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
# 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