diff --git a/.travis.yml b/.travis.yml
index a9471ec..db2603c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,10 @@
language: objective-c
-osx_image: xcode7.3
+osx_image: xcode8.2
script:
- - xcodebuild -workspace ReactiveKit.xcworkspace -scheme ReactiveKit-iOS -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.3' test
+ - set -o pipefail && xcodebuild -project ReactiveKit.xcodeproj -scheme ReactiveKit-iOS -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6s,OS=10.0' test | xcpretty
+ - set -o pipefail && swift build
+ - set -o pipefail && swift test
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)
diff --git a/ReactiveKit.podspec b/ReactiveKit.podspec
index 4590a94..57ae252 100644
--- a/ReactiveKit.podspec
+++ b/ReactiveKit.podspec
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = "ReactiveKit"
- s.version = "3.1.1"
+ s.version = "3.1.2"
s.summary = "A Swift Reactive Programming Framework"
s.description = "ReactiveKit is a Swift framework for reactive and functional reactive programming."
s.homepage = "https://github.com/ReactiveKit/ReactiveKit"
s.license = 'MIT'
s.author = { "Srdan Rasic" => "srdan.rasic@gmail.com" }
- s.source = { :git => "https://github.com/ReactiveKit/ReactiveKit.git", :tag => "v3.1.1" }
+ s.source = { :git => "https://github.com/ReactiveKit/ReactiveKit.git", :tag => "v3.1.2" }
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
diff --git a/ReactiveKit/Info.plist b/ReactiveKit/Info.plist
index d353b3e..b1376a8 100644
--- a/ReactiveKit/Info.plist
+++ b/ReactiveKit/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 3.1.1
+ 3.1.2
CFBundleSignature
????
CFBundleVersion
diff --git a/Sources/Connectable.swift b/Sources/Connectable.swift
index f601977..92fcd99 100644
--- a/Sources/Connectable.swift
+++ b/Sources/Connectable.swift
@@ -22,6 +22,8 @@
// THE SOFTWARE.
//
+import Foundation
+
/// Represents a signal that is started by calling `connect` on it.
public protocol ConnectableSignalProtocol: SignalProtocol {
diff --git a/Sources/Observer.swift b/Sources/Observer.swift
index 6c0e363..7ba80ae 100644
--- a/Sources/Observer.swift
+++ b/Sources/Observer.swift
@@ -22,6 +22,8 @@
// THE SOFTWARE.
//
+import Foundation
+
/// Represents a type that receives events.
public typealias Observer = (Event) -> Void