Skip to content

Commit

Permalink
Merge pull request #2896 from realm/mf-swift-5.1-linux
Browse files Browse the repository at this point in the history
Run CI on Swift 5.1 + Linux
  • Loading branch information
marcelofabri authored Oct 9, 2019
2 parents 2dcaf3e + e10a012 commit 495407b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
* Make `toggle_bool` rule substitution correctable.
[MaxHaertwig](https://github.com/maxhaertwig)

* Support building with Swift 5.1 on Linux.
[Marcelo Fabri](https://github.com/marcelofabri)
[#2874](https://github.com/realm/SwiftLint/issues/2874)

#### Bug Fixes

* None.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ archive:
release: package archive portable_zip

docker_test:
docker run -v `pwd`:`pwd` -w `pwd` --name swiftlint --rm norionomura/swift:42 swift test --parallel
docker run -v `pwd`:`pwd` -w `pwd` --name swiftlint --rm norionomura/swift:51 swift test --parallel

docker_htop:
docker run -it --rm --pid=container:swiftlint terencewestphal/htop || reset
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:4.0
// swift-tools-version:5.0
import PackageDescription

#if canImport(CommonCrypto)
Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
matrix:
swift50:
containerImage: swift:5.0
swift51:
containerImage: swift:5.1
container: $[ variables['containerImage'] ]
steps:
- script: swift test --parallel
Expand Down

0 comments on commit 495407b

Please sign in to comment.