Skip to content

Commit ba50068

Browse files
committed
[Danger] Change to inline liniting
1 parent d204992 commit ba50068

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ matrix:
3232
sudo: required
3333
dist: trusty
3434
name: Swift 5.0 compatibility
35-
install:
35+
before_install:
3636
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
37+
- swiftenv install 5.0
3738
- swiftenv global 5.0
3839
script:
3940
- swift test
@@ -53,8 +54,9 @@ matrix:
5354
sudo: required
5455
dist: trusty
5556
name: Swift 4.2 compatibility
56-
install:
57+
before_install:
5758
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
59+
- swiftenv install 4.2
5860
- swiftenv global 4.2
5961
script:
6062
- swift test
@@ -74,8 +76,9 @@ matrix:
7476
sudo: required
7577
dist: trusty
7678
name: Swift 4.1 compatibility
77-
install:
79+
before_install:
7880
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
81+
- swiftenv install 4.1
7982
- swiftenv global 4.1
8083
script:
8184
- swift test

Dangerfile.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ if onlyPodspec != onlyPackage {
2929
}
3030

3131
// Workaround for SwiftLint bug https://github.com/ashfurrow/danger-swiftlint/issues/4
32-
SwiftLint.lint(directory: "Sources", configFile: ".swiftlint.yml")
33-
SwiftLint.lint(directory: "Tests", configFile: "Tests/SwiftyUserDefaultsTests/.swiftlint.yml")
32+
SwiftLint.lint(inline: true, directory: "Sources", configFile: ".swiftlint.yml")
33+
SwiftLint.lint(inline: true, directory: "Tests", configFile: "Tests/SwiftyUserDefaultsTests/.swiftlint.yml")

0 commit comments

Comments
 (0)