Created
April 2, 2018 10:09
-
-
Save luismachado/14e44d6f7b3ed6f9df158d397bcad8f3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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