Skip to content

Commit

Permalink
Added travis environment config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
xingheng committed Dec 19, 2016
1 parent 9ef16f7 commit 3ff1705
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode7.3
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/DSBaseViewController-Example.xcworkspace -scheme DSBaseViewController-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# DSBaseViewController

[![CI Status](http://img.shields.io/travis/xingheng/DSBaseViewController.svg?style=flat)](https://travis-ci.org/xingheng/DSBaseViewController)
[![Version](https://img.shields.io/cocoapods/v/DSBaseViewController.svg?style=flat)](http://cocoapods.org/pods/DSBaseViewController)
[![License](https://img.shields.io/cocoapods/l/DSBaseViewController.svg?style=flat)](http://cocoapods.org/pods/DSBaseViewController)
[![Platform](https://img.shields.io/cocoapods/p/DSBaseViewController.svg?style=flat)](http://cocoapods.org/pods/DSBaseViewController)
Expand Down

0 comments on commit 3ff1705

Please sign in to comment.