Skip to content

Commit

Permalink
Update travis and podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
vadymmarkov committed Sep 27, 2016
1 parent 36d76f8 commit a035e4a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.2
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
osx_image: xcode7.3
language: objective-c
xcode_sdk: iphonesimulator9.3

before_install:
- brew update
- if brew outdated | grep -qx carthage; then brew upgrade carthage; fi
- travis_wait 35 carthage bootstrap --platform iOS,Mac,tvOS
- travis_wait 35 carthage bootstrap --platform iOS,Mac

# Use when you have third party dependencies (CocoaPods generates a workspace)
- xcodebuild clean build -project Fakery.xcodeproj -scheme "Fakery iOS" -sdk iphonesimulator
- xcodebuild clean build -project Fakery.xcodeproj -scheme "Fakery OSX" -sdk macosx
- xcodebuild clean build -project Fakery.xcodeproj -scheme "Fakery tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=9.2'
script:
- xcodebuild clean build -project Fakery.xcodeproj -scheme Fakery-iOS -sdk iphonesimulator
- xcodebuild test -project Fakery.xcodeproj -scheme Fakery-iOS -sdk iphonesimulator
- xcodebuild clean build -project Fakery.xcodeproj -scheme Fakery-Mac -sdk macosx
- xcodebuild test -project Fakery.xcodeproj -scheme Fakery-Mac -sdk macosx
5 changes: 4 additions & 1 deletion Fakery.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Fakery"
s.version = "1.3.2"
s.version = "1.4.0"
s.summary = "Swift fake data generator"
s.homepage = "https://github.com/vadymmarkov/Fakery"
s.license = {
Expand All @@ -10,10 +10,12 @@ Pod::Spec.new do |s|
s.author = {
"Vadym Markov" => "[email protected]"
}

s.source = {
:git => "https://github.com/vadymmarkov/Fakery.git",
:tag => s.version.to_s
}

s.social_media_url = 'https://twitter.com/vadymmarkov'

s.ios.deployment_target = "8.0"
Expand All @@ -23,6 +25,7 @@ Pod::Spec.new do |s|
s.resource_bundles = {
'Faker' => ['Resources/Locales/*.{json}']
}

s.source_files = 'Source/**/*'
s.frameworks = 'Foundation'
end

0 comments on commit a035e4a

Please sign in to comment.