Skip to content

Commit 875dbcf

Browse files
rebello95jpsim
authored andcommitted
ci: move SwiftLint over to Azure (#75)
Signed-off-by: Michael Rebello <mrebello@lyft.com> Signed-off-by: JP Simard <jp@jpsim.com>
1 parent afece95 commit 875dbcf

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

mobile/.circleci/config.yml

-7
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ jobs:
2929
- checkout
3030
- run: git submodule update --init
3131
- run: tools/check_format.sh
32-
swiftlint:
33-
docker:
34-
- image: norionomura/swiftlint:0.33.0_swift-5.0
35-
steps:
36-
- checkout
37-
- run: swiftlint lint --strict
3832

3933
workflows:
4034
version: 2
@@ -45,4 +39,3 @@ workflows:
4539
tags:
4640
only: /^v.*/
4741
- format
48-
- swiftlint

mobile/azure-pipelines.yml

+15
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1+
resources:
2+
containers:
3+
- container: swiftlint-container
4+
image: norionomura/swiftlint:0.33.0_swift-5.0
5+
16
trigger:
27
- master
38

49
jobs:
10+
- job: ios_swift_lint
11+
timeoutInMinutes: 360
12+
pool:
13+
vmImage: 'Ubuntu 16.04'
14+
container: swiftlint-container
15+
steps:
16+
- checkout: self
17+
submodules: true
18+
- script: swiftlint lint --strict
19+
displayName: 'Run SwiftLint'
520
- job: iOS_dist
621
timeoutInMinutes: 360
722
pool:

0 commit comments

Comments
 (0)