Skip to content

Commit

Permalink
Merge pull request #9 from AckeeCZ/carthage_support
Browse files Browse the repository at this point in the history
Carthage support
  • Loading branch information
janmisar authored Dec 28, 2017
2 parents 40d46a2 + 87fb83b commit 89ab9ec
Show file tree
Hide file tree
Showing 34 changed files with 1,226 additions and 824 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0
4.0
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode9
osx_image: xcode9.2
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
cache:
directories:
- Carthage
before_install:
- gem install cocoapods --pre # Since Travis is not always on latest version
- pod install --project-directory=Example
- brew update
- brew outdated carthage || brew upgrade carthage
- carthage bootstrap --platform iOS --cache-builds
script:
- set -o pipefail && xcodebuild test -workspace Example/Reqres.xcworkspace -scheme Reqres-Example -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.0' ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild test -scheme Reqres -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
1 change: 1 addition & 0 deletions Cartfile.private
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "Alamofire/Alamofire"
1 change: 1 addition & 0 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "Alamofire/Alamofire" "4.6.0"
12 changes: 0 additions & 12 deletions Example/Podfile

This file was deleted.

19 changes: 0 additions & 19 deletions Example/Podfile.lock

This file was deleted.

607 changes: 0 additions & 607 deletions Example/Reqres.xcodeproj/project.pbxproj

This file was deleted.

10 changes: 0 additions & 10 deletions Example/Reqres.xcworkspace/contents.xcworkspacedata

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions Example/Reqres/Base.lproj/LaunchScreen.xib

This file was deleted.

25 changes: 0 additions & 25 deletions Example/Reqres/Base.lproj/Main.storyboard

This file was deleted.

38 changes: 0 additions & 38 deletions Example/Reqres/Images.xcassets/AppIcon.appiconset/Contents.json

This file was deleted.

9 changes: 0 additions & 9 deletions Example/Tests/ReqresTests.swift

This file was deleted.

4 changes: 2 additions & 2 deletions Reqres.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Reqres'
s.version = '2.1.0'
s.version = '2.1.1'
s.summary = 'Simple network activity logger'

s.description = <<-DESC
Expand All @@ -23,5 +23,5 @@ Logs every request app makes, works great with Alamofire.

s.ios.deployment_target = '8.0'

s.source_files = 'Reqres/Classes/**/*'
s.source_files = 'Reqres/*.swift'
end
Loading

0 comments on commit 89ab9ec

Please sign in to comment.