Skip to content

Commit 0b2db35

Browse files
ajsecordrandallli
authored andcommitted
Install SwiftLint via the install_contributor_tools script. (#1145)
* Install SwiftLint via the install_contributor_tools script. * Exclude catalog/third_party from SwiftLint. * Added line length to .swiftlint.yml * Fixed SwiftLint warnings with some minor refactors. * Revert "Fixed SwiftLint warnings with some minor refactors." This reverts commit 2c19802. * Revert "Added line length to .swiftlint.yml" This reverts commit 12a6781. * Revert "Exclude catalog/third_party from SwiftLint." This reverts commit 8a00ad8.
1 parent 19a099e commit 0b2db35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ env:
1515
- DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=10.2" SDK="iphonesimulator10.2"
1616
before_install:
1717
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
18-
- brew update
19-
- brew install swiftlint || true # If already installed, don't fail.
18+
- scripts/install_contributor_tools
2019
# The travis_wait prefix ensures that the build doesn't error out because too much time went past
2120
# without any output being produced.
2221
script:

0 commit comments

Comments
 (0)