-
Notifications
You must be signed in to change notification settings - Fork 18
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 #3 from yahoo/fix/readme2
Polished README, Add Mantle example note, proper license
- Loading branch information
Showing
6 changed files
with
74 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
coverage_service: coveralls | ||
xcodeproj: YMCache.xcodeproj |
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,15 +1,28 @@ | ||
# references: | ||
# * http://www.objc.io/issue-6/travis-ci.html | ||
# * https://github.com/supermarin/xcpretty#usage | ||
|
||
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 | ||
install: | ||
osx_image: xcode6.4 | ||
xcode_project: YMCache.xcodeproj | ||
xcode_scheme: YMCache-iOS | ||
before_install: | ||
- brew update || brew update | ||
- brew install carthage || brew outdated carthage || brew upgrade carthage | ||
- brew install xctool || brew outdated xctool || brew upgrade xctool | ||
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet | ||
- gem install slather --no-rdoc --no-ri --no-document --quiet | ||
- "./script/travis-codesign-setup.sh" | ||
install: | ||
- carthage bootstrap --verbose | ||
after_install: | ||
- "./script/travis-codesign-teardown.sh" | ||
script: | ||
- set -o pipefail && xcodebuild test -workspace Example/YMCache.xcworkspace -scheme YMCache-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c | ||
- set -o pipefail && xctool test -project YMCache.xcodeproj -scheme YMCache-iOS -sdk | ||
iphonesimulator ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | ||
| xcpretty -c | ||
- set -o pipefail && xctool test -project YMCache.xcodeproj -scheme YMCache-Mac -sdk | ||
macosx ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | ||
| xcpretty -c | ||
- pod lib lint --quick | ||
after_success: | ||
- slather | ||
env: | ||
global: | ||
secure: XjmvN8ABJy19pzTQtCnbi8PKei+fJ8m20LU2cuNEDP3LfTwt34tVtYGNaI4YTEiPpEvKTSWQpRUUQWzw3l2AyY6ia282URtxYXi3lSlH2WW0zjqkueWlFDCnrTeuv+DLQVE1uQt1F8ErWYTSCT81t13WeCgE3NKDGB0eDmEncUYqQOr7w8kMFoOZWxp7PRNHGDzqsZXTAmkLvoEwjEnWy/nXrO2ES4xckYR91NofFk6mfCecsWCmM/ZLOC/nRLG2GtHhvWWWkdaMqr7o8/n/YU/0uW3tR4J/D3YtdKgiNA1pROdqXZnIt6+MQO9M2v84BB123LMIeANxv9OyAzL1fZq/7h1hePOUW2gSo2HLOju1wtC2t6d+WuKLuUFB2l9hYj5fJggmVk9O3a25wlzMtP/LQMgQ/kCmrIVqMNSsLPuNXgYFb1tD65qd1zFHFPFoO+caTRoGyDAWO84CyOJGmBuOmkswZk70qtPbDPuHfKSf53lZaIfxAZ0mWGCOB4/UiT7Yy3cx2Q60o2rQTskZExL2dBpExCkRnSTBknrN13UFljBbZ16W9OiN5Q0BUVOcO3JjvGOOr4QCgYVh50cfWONJyiq6xxz/6WNESj6qTYJ7/uRtwhdW9oCOq53ci9q8pYFJ/VSojzNQjjPOyx8N8dtJ019PE6nGiREnd6a0EIU= |
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
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
|
||
KEYCHAIN=ios-build.keychain | ||
PASSWORD=cibuild | ||
SCRIPT_DIR=$(dirname "$0") | ||
|
||
# Create a temporary keychain for code signing. | ||
security create-keychain -p "$PASSWORD" "$KEYCHAIN" | ||
security default-keychain -s "$KEYCHAIN" | ||
security unlock-keychain -p "$PASSWORD" "$KEYCHAIN" | ||
security set-keychain-settings -t 3600 -l "$KEYCHAIN" | ||
|
||
# Download the certificate for the Apple Worldwide Developer Relations | ||
# Certificate Authority. | ||
CERTPATH="$SCRIPT_DIR/apple_wwdr.cer" | ||
curl 'https://developer.apple.com/certificationauthority/AppleWWDRCA.cer' > "$CERTPATH" | ||
security import "$CERTPATH" -k "$KEYCHAIN" -T /usr/bin/codesign | ||
|
||
# Import our development certificate. | ||
security import "$SCRIPT_DIR/certificates/Development.p12" -k "$KEYCHAIN" -P "$KEY_PASSWORD" -T /usr/bin/codesign |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
KEYCHAIN=ios-build.keychain | ||
|
||
# Delete temporary keychain | ||
security delete-keychain "$KEYCHAIN" |