forked from RocketChat/Rocket.Chat.iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
91 lines (84 loc) · 2 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: 2
jobs:
lint:
macos:
xcode: "9.0"
steps:
- checkout
- run:
name: Update Dependencies
command: ./Scripts/update_dependencies.sh
- run:
name: Lint
command: swiftlint
test-ipad-ios10.3:
macos:
xcode: "9.0"
steps:
- checkout
- run:
name: Update Dependencies
command: ./Scripts/update_dependencies.sh
- run:
name: Run tests on iPad iOS 10.3
command: ./Scripts/test-10.3-ipad.sh
test-iphone-ios10.3:
macos:
xcode: "9.0"
steps:
- checkout
- run:
name: Update Dependencies
command: ./Scripts/update_dependencies.sh
- run:
name: Run tests on iPhone iOS 10.3
command: ./Scripts/test-10.3-iphone.sh
test-ipad-ios11.0:
macos:
xcode: "9.0"
steps:
- checkout
- run:
name: Update Dependencies
command: ./Scripts/update_dependencies.sh
- run:
name: Run tests on iPad iOS 11.0
command: ./Scripts/test-11.0-ipad.sh
test-iphone-ios11.0:
macos:
xcode: "9.0"
steps:
- checkout
- run:
name: Update Dependencies
command: ./Scripts/update_dependencies.sh
- run:
name: Run tests on iPhone iOS 11.0
command: ./Scripts/test-11.0-iphone.sh
- run:
name: Codecov
command: bash <(curl -s https://codecov.io/bash) -J 'Rocket.Chat'
workflows:
version: 2
build-and-test:
jobs:
- lint:
filters:
branches:
ignore:
- /^docs[-\/].*$/
- /^wip[-\/].*$/
- /^.*-docs$/
- /^.*-wip$/
- test-iphone-ios11.0:
requires:
- lint
- test-iphone-ios10.3:
requires:
- lint
- test-ipad-ios10.3:
requires:
- lint
- test-ipad-ios11.0:
requires:
- lint