From 406d18cbbb7c7bf09b9c1adaeacf15ec85182919 Mon Sep 17 00:00:00 2001 From: Robert Widmann Date: Wed, 11 Apr 2018 22:24:56 -0400 Subject: [PATCH] Update to Swift 4.1 --- .swift-version | 2 +- .travis.yml | 2 +- Sources/LiteSupport/TestRunner.swift | 9 --------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.swift-version b/.swift-version index 5186d07..7d5c902 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -4.0 +4.1 diff --git a/.travis.yml b/.travis.yml index 397e466..d3df4f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ matrix: include: - os: osx language: objective-c - osx_image: xcode9 + osx_image: xcode9.3 before_install: - gem install xcpretty script: diff --git a/Sources/LiteSupport/TestRunner.swift b/Sources/LiteSupport/TestRunner.swift index eff7cd2..4265726 100644 --- a/Sources/LiteSupport/TestRunner.swift +++ b/Sources/LiteSupport/TestRunner.swift @@ -10,15 +10,6 @@ import Rainbow import ShellOut import Dispatch -#if os(Linux) -/// HACK: This is needed because on macOS, ObjCBool is a distinct type -/// from Bool. On Linux, however, it is a typealias. -extension ObjCBool { - /// Converts the ObjCBool value to a Swift Bool. - var boolValue: Bool { return self } -} -#endif - /// Specifies how to parallelize test runs. public enum ParallelismLevel { /// Parallelize over an explicit number of cores.