-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from BenEmdon/cocopod-implementation
Cocoapod implementation 📲
- Loading branch information
Showing
65 changed files
with
1,181 additions
and
1,672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# references: | ||
# * http://www.objc.io/issue-6/travis-ci.html | ||
# * https://github.com/supermarin/xcpretty#usage | ||
|
||
osx_image: xcode8.2 | ||
language: objective-c | ||
|
||
# cache: cocoapods | ||
podfile: Example/Podfile | ||
before_install: | ||
- brew update | ||
- brew outdated xctool || brew upgrade xctool | ||
|
||
- gem install cocoapods # Since Travis is not always on latest version | ||
- pod install --project-directory=Example | ||
script: | ||
- xcodebuild -project CenteredCollectionView.xcodeproj -scheme CenteredCollectionView build-for-testing -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | ||
- xctool -project CenteredCollectionView.xcodeproj -scheme CenteredCollectionView run-tests -test-sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | ||
- set -o pipefail && xcodebuild test -workspace Example/CenteredCollectionView.xcworkspace -scheme CenteredCollectionView-Example -sdk iphonesimulator10.2 -destination 'platform=iOS Simulator,OS=10.2,id=E40727B3-41FB-4D6E-B4CB-BFA87109EB12' ONLY_ACTIVE_ARCH=NO | xcpretty | ||
# - pod lib lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.