Skip to content

Commit

Permalink
Build against Swift 5 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
djones6 authored Dec 10, 2018
1 parent 5640b92 commit 0c37164
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ matrix:
sudo: required
services: docker
env: DOCKER_IMAGE=ubuntu:16.04
- os: linux
dist: trusty
sudo: required
services: docker
env: DOCKER_IMAGE=ubuntu:16.04 SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
- os: linux
dist: trusty
sudo: required
Expand All @@ -43,6 +48,10 @@ matrix:
- os: osx
osx_image: xcode10
sudo: required
- os: osx
osx_image: xcode10.1
sudo: required
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT

before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
Expand Down
2 changes: 1 addition & 1 deletion Sources/KituraSession/RouterRequest+Session.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ private let SESSION_USER_INFO_KEY = "@@Kitura@@Session@@"

/// Extension of the `RouterRequest` class that provides access to the session's state
/// that is stored in a `SessionState` object.
public extension RouterRequest {
extension RouterRequest {

/// The session's state that is stored in a `SessionState` object.
public internal(set) var session: SessionState? {
Expand Down

0 comments on commit 0c37164

Please sign in to comment.