Skip to content

Commit 0db6d98

Browse files
author
Vilém Kurz
authored
Merge pull request #1 from inloop/travis-ci
Travis CI setup
2 parents daa5554 + dd67874 commit 0db6d98

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# * https://www.objc.io/issues/6-build-tools/travis-ci/
33
# * https://github.com/supermarin/xcpretty#usage
44

5-
osx_image: xcode7.3
6-
language: objective-c
7-
# cache: cocoapods
8-
# podfile: Example/Podfile
9-
# before_install:
10-
# - gem install cocoapods # Since Travis is not always on latest version
11-
# - pod install --project-directory=Example
5+
osx_image: xcode9.4
6+
language: swift
7+
cache: cocoapods
8+
podfile: Example/Podfile
9+
before_install:
10+
#- gem install cocoapods # Since Travis is not always on latest version
11+
#- pod install --project-directory=Example
1212
script:
13-
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/UIViewController-DisplayInDrawer.xcworkspace -scheme UIViewController-DisplayInDrawer-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
13+
- set -o pipefail && xcodebuild -workspace Example/UIViewController-DisplayInDrawer.xcworkspace -scheme UIViewController-DisplayInDrawer-Example -sdk iphonesimulator11.4 ONLY_ACTIVE_ARCH=NO | xcpretty
1414
- pod lib lint

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# UIViewController-DisplayInDrawer
22
Present any view controller easily in a drawer (iOS Maps style).
33

4+
[![CI Status](https://img.shields.io/travis/inloop/UIViewController-DisplayInDrawer.svg?style=flat)](https://travis-ci.org/inloop/UIViewController-DisplayInDrawer)
5+
[![Version](https://img.shields.io/cocoapods/v/UIViewController-DisplayInDrawer.svg?style=flat)](https://cocoapods.org/pods/UIViewController-DisplayInDrawer)
6+
[![License](https://img.shields.io/cocoapods/l/UIViewController-DisplayInDrawer.svg?style=flat)](https://cocoapods.org/pods/UIViewController-DisplayInDrawer)
7+
[![Platform](https://img.shields.io/cocoapods/p/UIViewController-DisplayInDrawer.svg?style=flat)](https://cocoapods.org/pods/UIViewController-DisplayInDrawer)
8+
49
It is implemented as a UIViewController extension, which means **no subclassing** and **no invasive view hierarchy setup**.
510
It is designed to be as easy to use as possible:
611
1. You can present any existing or new controller. Make it conform to the `DrawerConfiguration` protocol
@@ -9,11 +14,6 @@ It is designed to be as easy to use as possible:
914

1015
Amongst other things we add blur behind your controller. If you want blur effect to be visible you need give transparent background to your viewController's view.
1116

12-
[![CI Status](https://img.shields.io/travis/vilemkurz/UIViewController-DisplayInDrawer.svg?style=flat)](https://travis-ci.org/vilemkurz/UIViewController-DisplayInDrawer)
13-
[![Version](https://img.shields.io/cocoapods/v/UIViewController-DisplayInDrawer.svg?style=flat)](https://cocoapods.org/pods/UIViewController-DisplayInDrawer)
14-
[![License](https://img.shields.io/cocoapods/l/UIViewController-DisplayInDrawer.svg?style=flat)](https://cocoapods.org/pods/UIViewController-DisplayInDrawer)
15-
[![Platform](https://img.shields.io/cocoapods/p/UIViewController-DisplayInDrawer.svg?style=flat)](https://cocoapods.org/pods/UIViewController-DisplayInDrawer)
16-
1717
## Example
1818

1919
To see it in action run `pod try UIViewController-DisplayInDrawer` or clone the lib manually

UIViewController-DisplayInDrawer.podspec

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,22 @@ Pod::Spec.new do |s|
1818
# * Finally, don't worry about the indent, CocoaPods strips it!
1919

2020
s.description = <<-DESC
21-
TODO: Add long description of the pod here.
22-
DESC
21+
Present any view controller easily in a drawer (iOS Maps style). It is implemented as a UIViewController extension, which means no subclassing and no invasive view hierarchy setup. It is designed to be as easy to use as possible:
2322
24-
s.homepage = 'https://github.com/vilemkurz/UIViewController-DisplayInDrawer'
23+
You can present any existing or new controller. Make it conform to the DrawerConfiguration protocol
24+
Optionally setup a DrawerPositionDelegate which is notified about drawer's position
25+
Call `displayInDrawer(controller, drawerPositionDelegate: delegate)`.
26+
DESC
27+
28+
s.homepage = 'https://github.com/inloop/UIViewController-DisplayInDrawer'
2529
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
2630
s.license = { :type => 'MIT', :file => 'LICENSE' }
2731
s.author = { 'vilemkurz' => '[email protected]' }
2832
s.source = { :git => 'https://github.com/inloop/UIViewController-DisplayInDrawer.git', :tag => s.version.to_s }
2933
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
3034

3135
s.ios.deployment_target = '10.0'
32-
36+
s.swift_version = '4.1'
3337
s.source_files = 'UIViewController-DisplayInDrawer/Classes/**/*'
3438

3539
# s.resource_bundles = {

0 commit comments

Comments
 (0)