Skip to content

Commit

Permalink
Drop Swift 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed Jul 7, 2018
1 parent 0396634 commit 822c0fe
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1
4.1.2
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ aliases:
language: objective-c
- &cocoapods
script:
- rm .swift-version
- pod repo update master
- pod lib lint --verbose
os: osx
Expand Down Expand Up @@ -41,14 +42,14 @@ matrix:
osx_image: xcode9.2
env: JOB=Xcode9.2
- <<: *xcode
osx_image: xcode9.3
env: JOB=Xcode9.3
osx_image: xcode9.4
env: JOB=Xcode9.4
- <<: *cocoapods
osx_image: xcode9.3
osx_image: xcode9.4
- <<: *swiftpm_darwin
osx_image: xcode9.2
- <<: *swiftpm_darwin
osx_image: xcode9.3
osx_image: xcode9.4
- <<: *swiftpm_linux
env:
- JOB=Linux
Expand All @@ -59,11 +60,7 @@ matrix:
- <<: *swiftpm_linux
env:
- JOB=Linux
- SWIFT_VERSION=4.1.2
- <<: *swiftpm_linux
env:
- JOB=Linux
- SWIFT_VERSION=4.2-DEVELOPMENT-SNAPSHOT-2018-06-15-a
- SWIFT_VERSION=4.2-DEVELOPMENT-SNAPSHOT-2018-07-05-a

notifications:
email: false
Expand All @@ -85,4 +82,4 @@ deploy:
on:
repo: Carthage/Commandant
tags: true
condition: $JOB = Xcode9.3
condition: $JOB = Xcode9.4
2 changes: 2 additions & 0 deletions Commandant.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ Commandant is a Swift framework for parsing command-line arguments, inspired by

s.dependency "Result", "~> 3.2"

s.cocoapods_version = ">= 1.4.0"
s.swift_version = "4.0"
end
8 changes: 4 additions & 4 deletions Commandant.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
ENABLE_TESTABILITY = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
ONLY_ACTIVE_ARCH = YES;
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -436,7 +436,7 @@
CURRENT_PROJECT_VERSION = 1;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -516,7 +516,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CURRENT_PROJECT_VERSION = 1;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -565,7 +565,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CURRENT_PROJECT_VERSION = 1;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ let package = Package(
.target(name: "Commandant", dependencies: ["Result"]),
.testTarget(name: "CommandantTests", dependencies: ["Commandant", "Quick", "Nimble"]),
],
swiftLanguageVersions: [3, 4]
swiftLanguageVersions: [4]
)

0 comments on commit 822c0fe

Please sign in to comment.