forked from exercism/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
39 lines (38 loc) · 956 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: 2
jobs:
build100:
macos:
xcode: "10.0.0"
steps:
- checkout
- run: sudo gem install danger
- run: brew update
- run: brew ls --versions swiftlint && brew upgrade swiftlint || brew install swiftlint
- run: swiftlint lint --quiet | tee lintreport.json || true # Dont crash on errors
- run: ./xswift-test-spm
- run: swift package generate-xcodeproj
- run:
name: Danger Systems
when: on_success
command: danger || true # Dont fail build on non zero exit codes
build101:
macos:
xcode: "10.1.0"
steps:
- checkout
- run: swift package generate-xcodeproj
- run: ./xswift-test-spm
build102:
macos:
xcode: "10.2.0"
steps:
- checkout
- run: swift package generate-xcodeproj
- run: ./xswift-test-spm
workflows:
version: 2
workflow:
jobs:
- build100
- build101
- build102