diff --git a/.swift-version b/.swift-version deleted file mode 100644 index a75b92f1e..000000000 --- a/.swift-version +++ /dev/null @@ -1 +0,0 @@ -5.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 70082fa99..6befe93a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ #### Breaking -* None. +* SwiftLint now requires Swift 5.2 or higher to build. + [JP Simard](https://github.com/jpsim) #### Experimental diff --git a/SwiftLintFramework.podspec b/SwiftLintFramework.podspec index 39d839f24..a9d52ed95 100644 --- a/SwiftLintFramework.podspec +++ b/SwiftLintFramework.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.author = { 'JP Simard' => 'jp@jpsim.com' } s.platform = :osx, '10.10' s.source_files = 'Source/SwiftLintFramework/**/*.swift' - s.swift_versions = ['5.1', '5.2'] + s.swift_versions = ['5.2', '5.3'] s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' } s.dependency 'SourceKittenFramework', '~> 0.30.1' s.dependency 'Yams', '~> 4.0' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index aeb253602..8daed1c09 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,8 +8,6 @@ jobs: strategy: maxParallel: 10 matrix: - swift51: - containerImage: swift:5.1 swift52: containerImage: swift:5.2 swift53: @@ -25,14 +23,6 @@ jobs: strategy: maxParallel: 10 matrix: - xcode110: - DEVELOPER_DIR: /Applications/Xcode_11.app - xcode111: - DEVELOPER_DIR: /Applications/Xcode_11.1.app - xcode112: - DEVELOPER_DIR: /Applications/Xcode_11.2.1.app - xcode113: - DEVELOPER_DIR: /Applications/Xcode_11.3.1.app xcode114: DEVELOPER_DIR: /Applications/Xcode_11.4.app xcode115: @@ -67,14 +57,6 @@ jobs: strategy: maxParallel: 10 matrix: - xcode110: - DEVELOPER_DIR: /Applications/Xcode_11.app - xcode111: - DEVELOPER_DIR: /Applications/Xcode_11.1.app - xcode112: - DEVELOPER_DIR: /Applications/Xcode_11.2.1.app - xcode113: - DEVELOPER_DIR: /Applications/Xcode_11.3.1.app xcode114: DEVELOPER_DIR: /Applications/Xcode_11.4.app xcode115: