Skip to content

Commit

Permalink
Merge pull request #112 from Carthage/xcode-9
Browse files Browse the repository at this point in the history
Migrate to Xcode 9
  • Loading branch information
ikesyo authored Sep 21, 2017
2 parents ab80aa4 + 91e8cff commit bbb6d57
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1
4.0
32 changes: 16 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ matrix:
- script: set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" test | xcpretty
xcode_scheme: Commandant
os: osx
osx_image: xcode8.3
osx_image: xcode9
language: objective-c
env: JOB=Xcode8
env: JOB=Xcode9
- script:
- swift --version
- swift build
- SWIFTPM_TEST_Commandant=YES swift test
os: osx
osx_image: xcode8.3
osx_image: xcode9
language: objective-c
env: JOB=SPM
- script:
Expand All @@ -31,18 +31,18 @@ matrix:
language: generic
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
- script:
- swift --version
- swift build
- SWIFTPM_TEST_Commandant=YES swift test
env:
- JOB=Linux
- SWIFT_VERSION=4.0-DEVELOPMENT-SNAPSHOT-2017-08-04-a
sudo: required
dist: trusty
language: generic
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
# - script:
# - swift --version
# - swift build
# - SWIFTPM_TEST_Commandant=YES swift test
# env:
# - JOB=Linux
# - SWIFT_VERSION=DEVELOPMENT-SNAPSHOT-2017-09-20-a
# sudo: required
# dist: trusty
# language: generic
# install:
# - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"

notifications:
email: false
Expand All @@ -62,4 +62,4 @@ deploy:
on:
repo: Carthage/Commandant
tags: true
condition: $JOB = Xcode8
condition: $JOB = Xcode9
18 changes: 17 additions & 1 deletion Commandant.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
attributes = {
LastSwiftMigration = 0700;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0820;
LastUpgradeCheck = 0900;
ORGANIZATIONNAME = Carthage;
TargetAttributes = {
D00CCDD81A20717400109F8C = {
Expand Down Expand Up @@ -401,7 +401,11 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D00CCDFA1A20719500109F8C /* Debug.xcconfig */;
buildSettings = {
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CURRENT_PROJECT_VERSION = 1;
ENABLE_TESTABILITY = YES;
Expand All @@ -417,7 +421,11 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D00CCDFC1A20719500109F8C /* Release.xcconfig */;
buildSettings = {
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CURRENT_PROJECT_VERSION = 1;
MACOSX_DEPLOYMENT_TARGET = 10.9;
Expand Down Expand Up @@ -492,7 +500,11 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D00CCDFB1A20719500109F8C /* Profile.xcconfig */;
buildSettings = {
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CURRENT_PROJECT_VERSION = 1;
MACOSX_DEPLOYMENT_TARGET = 10.9;
Expand Down Expand Up @@ -536,7 +548,11 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D00CCDFD1A20719500109F8C /* Test.xcconfig */;
buildSettings = {
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CURRENT_PROJECT_VERSION = 1;
MACOSX_DEPLOYMENT_TARGET = 10.9;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
LastUpgradeVersion = "0900"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -40,6 +40,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
Expand Down Expand Up @@ -69,6 +70,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
24 changes: 0 additions & 24 deletions Package.pins

This file was deleted.

16 changes: 16 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "Result",
"repositoryURL": "https://github.com/antitypical/Result.git",
"state": {
"branch": null,
"revision": "c8446185238659a2b27c0261f64ff1254291d07d",
"version": "3.2.3"
}
}
]
},
"version": 1
}

0 comments on commit bbb6d57

Please # to comment.