forked from RocketChat/Rocket.Chat.iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
54 lines (51 loc) · 1.35 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
version: 2
jobs:
lint:
macos:
xcode: "10.2.1"
steps:
- checkout
- run:
name: Install Swiftlint
command: ./Scripts/install_swiftlint.sh
- run:
name: Lint
command: swiftlint
test:
macos:
xcode: "10.2.1"
steps:
- checkout
- run:
name: Build for testing
command: ./Scripts/build_for_testing.sh
- run:
name: Run tests on iPad iOS 11.4
command: ./Scripts/test_without_building.sh "11.4" "iPad Air 2"
- run:
name: Run tests on iPad iOS 12.2
command: ./Scripts/test_without_building.sh "12.2" "iPad Air 2"
- run:
name: Run tests on iPhone iOS 11.4
command: ./Scripts/test_without_building_coverage.sh "11.4" "iPhone 8"
- run:
name: Run tests on iPhone (X series) iOS 12.2
command: ./Scripts/test_without_building_coverage.sh "12.2" "iPhone XS"
- 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:
requires:
- lint