diff --git a/.swift-version b/.swift-version index b502146..94ff29c 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -3.0.2 +3.1.1 diff --git a/.travis.yml b/.travis.yml index bae1867..736e28f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ language: generic env: global: - - SWIFT_VERSION=3.0.2 + - SWIFT_VERSION=3.1.1 notifications: email: @@ -17,7 +17,7 @@ sudo: required dist: trusty -osx_image: xcode8.2 +osx_image: xcode8.3 before_install: - rvm install 2.4.0 diff --git a/Package.swift b/Package.swift index 7d83501..e46ad93 100644 --- a/Package.swift +++ b/Package.swift @@ -4,6 +4,6 @@ let package = Package( name: "SimpleHttpClient", dependencies:[ .Package(url: "https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git", majorVersion: 0, minor: 5), - .Package(url: "https://github.com/IBM-Swift/Kitura-net.git", majorVersion: 1, minor: 6) + .Package(url: "https://github.com/IBM-Swift/Kitura-net.git", majorVersion: 1, minor: 7) ] ) diff --git a/Tests/SimpleHttpClientTests/HttpClientTest.swift b/Tests/SimpleHttpClientTests/HttpClientTest.swift index d5a7616..d6e45bb 100644 --- a/Tests/SimpleHttpClientTests/HttpClientTest.swift +++ b/Tests/SimpleHttpClientTests/HttpClientTest.swift @@ -45,7 +45,7 @@ class HttpClientTests: XCTestCase { let resource = httpsResource.resourceByAddingPathComponent(pathComponent: "/get") HttpClient.get(resource: resource) { error, status, headers, data in - print("Status \(status)") + print("Status \(status as Optional)") XCTAssertNil(error, "error != nil") XCTAssertTrue(status == 200, "status != 200") XCTAssertNotNil(headers, "headers == nil")