diff --git a/.travis.yml b/.travis.yml index 7a92e5e..226c6fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: objective-c osx_image: xcode7.3 -podfile: Demo/iOS/Podfile -#script: xctool -workspace Demo/iOS/WKZombieDemo.xcworkspace -scheme WKZombieDemo -sdk iphonesimulator build #test -script: xcodebuild -workspace WKZombie.xcworkspace -scheme WKZombie -sdk iphonesimulator build test +before_install: + - bash update-carthage.sh 0.11 +script: + - Scripts/test-framework.sh diff --git a/Carthage/Checkouts/hpple b/Carthage/Checkouts/hpple new file mode 160000 index 0000000..58c4685 --- /dev/null +++ b/Carthage/Checkouts/hpple @@ -0,0 +1 @@ +Subproject commit 58c468594f4c4070c944d864918c3b81c5d47883 diff --git a/setup-framework.sh b/Scripts/setup-framework.sh similarity index 93% rename from setup-framework.sh rename to Scripts/setup-framework.sh index bddb33d..f481915 100755 --- a/setup-framework.sh +++ b/Scripts/setup-framework.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/bin/bash if ! command -v carthage > /dev/null; then printf 'Carthage is not installed.\n' diff --git a/Scripts/test-framework.sh b/Scripts/test-framework.sh new file mode 100755 index 0000000..7a82b56 --- /dev/null +++ b/Scripts/test-framework.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +setup-framework.sh +xcodebuild -workspace WKZombie.xcworkspace -scheme WKZombie -sdk iphonesimulator build test + diff --git a/Scripts/update-carthage.sh b/Scripts/update-carthage.sh new file mode 100755 index 0000000..ee59c35 --- /dev/null +++ b/Scripts/update-carthage.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [[ $# -eq 0 ]] ; then + echo "Carthage version required (e.g. 0.11)" + exit 1 +fi + +curl -OlL "https://github.com/Carthage/Carthage/releases/download/$1/Carthage.pkg" +sudo installer -pkg "Carthage.pkg" -target / +rm "Carthage.pkg" diff --git a/WKZombie.podspec b/WKZombie.podspec index 5603db4..751d971 100644 --- a/WKZombie.podspec +++ b/WKZombie.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "WKZombie" - s.version = "0.9.2" + s.version = "0.9.3" s.summary = "WKZombie is a Swift library for iOS/OSX to browse websites without the need of User Interface or API." s.description = <<-DESC @@ -15,8 +15,8 @@ Pod::Spec.new do |s| s.author = "Mathias Köhnke" - s.ios.deployment_target = '9.0' - s.osx.deployment_target = '10.10' + s.ios.deployment_target = '9.1' + s.osx.deployment_target = '10.11' s.source = { :git => "https://github.com/mkoehnke/WKZombie.git", :tag => s.version.to_s }