mirror of
https://github.com/mkoehnke/WKZombie.git
synced 2024-10-05 14:27:08 +03:00
Added Carthage Script for Travis
This commit is contained in:
parent
3ad682b87c
commit
be08f4cd9a
@ -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
|
||||
|
1
Carthage/Checkouts/hpple
vendored
Submodule
1
Carthage/Checkouts/hpple
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 58c468594f4c4070c944d864918c3b81c5d47883
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
#!/bin/bash
|
||||
|
||||
if ! command -v carthage > /dev/null; then
|
||||
printf 'Carthage is not installed.\n'
|
5
Scripts/test-framework.sh
Executable file
5
Scripts/test-framework.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
setup-framework.sh
|
||||
xcodebuild -workspace WKZombie.xcworkspace -scheme WKZombie -sdk iphonesimulator build test
|
||||
|
10
Scripts/update-carthage.sh
Executable file
10
Scripts/update-carthage.sh
Executable file
@ -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"
|
@ -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 }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user