-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 14c3b57
Showing
24 changed files
with
3,348 additions
and
0 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,34 @@ | ||
## OS X | ||
.DS_Store | ||
|
||
## Build generated | ||
build/ | ||
DerivedData | ||
|
||
## Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
|
||
## Other | ||
*.xccheckout | ||
*.moved-aside | ||
*.xcuserstate | ||
*.xcscmblueprint | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
|
||
## Dependency Managers | ||
Pods/ | ||
Carthage/Build | ||
|
||
## AppCode | ||
.idea/ |
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,7 @@ | ||
line_length: 140 | ||
file_length: 1000 | ||
type_body_length: 500 | ||
opt_in_rules: | ||
- empty_count | ||
disabled_rules: | ||
- cyclomatic_complexity |
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,48 @@ | ||
branches: | ||
only: | ||
- master | ||
language: objective-c | ||
os: osx | ||
osx_image: xcode7.2 | ||
cache: | ||
- cocoapods | ||
env: | ||
matrix: | ||
- TEST_TYPE=iOS | ||
- TEST_TYPE=OSX | ||
- TEST_TYPE=tvOS | ||
- TEST_TYPE=CocoaPods | ||
- TEST_TYPE=Carthage | ||
before_install: | ||
- | | ||
if [ "$TEST_TYPE" = iOS ] || [ "$TEST_TYPE" = OSX ] || [ "$TEST_TYPE" = tvOS ]; then | ||
gem install xcpretty -N --no-ri --no-rdoc | ||
elif [ "$TEST_TYPE" = CocoaPods ]; then | ||
gem install cocoapods --pre --quiet --no-ri --no-rdoc | ||
pod setup --silent | ||
pod repo update --silent | ||
elif [ "$TEST_TYPE" = Carthage ]; then | ||
brew update | ||
brew install carthage || brew upgrade carthage | ||
fi | ||
script: | ||
- | | ||
if [ "$TEST_TYPE" = iOS ]; then | ||
set -o pipefail | ||
xcodebuild test -project BoltsSwift.xcodeproj -sdk iphonesimulator -scheme BoltsSwift-iOS -configuration Debug -destination "platform=iOS Simulator,name=iPhone 4s" -destination "platform=iOS Simulator,name=iPhone 6 Plus" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c | ||
elif [ "$TEST_TYPE" = OSX ]; then | ||
set -o pipefail | ||
xcodebuild test -project BoltsSwift.xcodeproj -sdk macosx -scheme BoltsSwift-OSX -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c | ||
elif [ "$TEST_TYPE" = tvOS ]; then | ||
set -o pipefail | ||
xcodebuild test -project BoltsSwift.xcodeproj -sdk appletvsimulator -scheme BoltsSwift-tvOS -destination "platform=tvOS Simulator,name=Apple TV 1080p" -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c | ||
elif [ "$TEST_TYPE" = CocoaPods ]; then | ||
pod lib lint Bolts-Swift.podspec | ||
elif [ "$TEST_TYPE" = Carthage ]; then | ||
carthage build --no-skip-current | ||
fi | ||
after_success: | ||
- | | ||
if [ "$TEST_TYPE" = iOS ] || [ "$TEST_TYPE" = OSX ] || [ "$TEST_TYPE" = tvOS ]; then | ||
bash <(curl -s https://codecov.io/bash) | ||
fi |
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 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'Bolts-Swift' | ||
s.version = '1.0.0' | ||
s.license = { :type => 'BSD' } | ||
s.summary = 'Bolts is a collection of low-level libraries designed to make developing mobile apps easier.' | ||
s.homepage = 'https://github.com/BoltsFramework' | ||
s.authors = { 'Nikita Lutsenko' => '[email protected]' } | ||
|
||
s.source = { :git => 'https://github.com/BoltsFramework/Bolts-Swift.git', :tag => s.version.to_s } | ||
|
||
s.requires_arc = true | ||
|
||
s.ios.deployment_target = '8.0' | ||
s.osx.deployment_target = '10.9' | ||
s.tvos.deployment_target = '9.0' | ||
s.watchos.deployment_target = '2.0' | ||
|
||
s.source_files = 'Sources/BoltsSwift/*.swift' | ||
s.module_name = 'BoltsSwift' | ||
end |
Oops, something went wrong.