Skip to content

Commit

Permalink
MERGE: Merge branch 'AFN-3.X' into 'master'
Browse files Browse the repository at this point in the history
Change-Id: Icc6a9769921cbf830e1f10f40d09bfc9d25f7265
  • Loading branch information
maojj committed Sep 6, 2016
2 parents 7ce3665 + aa89c02 commit e72568f
Show file tree
Hide file tree
Showing 114 changed files with 5,242 additions and 12,040 deletions.
38 changes: 33 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Xcode
.DS_Store
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
Expand All @@ -10,10 +16,32 @@ build/
*.perspectivev3
!default.perspectivev3
xcuserdata
profile
xcbaselines

## Other
*.xccheckout
*.moved-aside
DerivedData
.idea/
*.xcuserstate
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
Pods/

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
Carthage/Checkouts
Carthage/Build
Cartfile.resolved

.DS_Store

*.xcuserstate
34 changes: 31 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
language: objective-c
osx_image: xcode7
language: objective-c
osx_image: xcode8
cache:
- cocoapods
- bundler
env:
matrix:
- TEST_TYPE=iOS
- TEST_TYPE=macOS
- TEST_TYPE=tvOS
before_install:
- |
brew update
brew install carthage
carthage bootstrap
if [ "$TEST_TYPE" = iOS ] || [ "$TEST_TYPE" = macOS ] || [ "$TEST_TYPE" = tvOS ]; then
gem install xcpretty --no-ri --no-rdoc --no-document --quiet
elif [ "$TEST_TYPE" = CocoaPods ]; then
gem install cocoapods --no-ri --no-rdoc --no-document --quiet
fi
script:
- xctool -project YTKNetworkDemo/YTKNetworkDemo.xcodeproj -scheme YTKNetworkDemo -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- |
if [ "$TEST_TYPE" = iOS ]; then
set -o pipefail
xcodebuild test -scheme "YTKNetwork iOS" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" -skip-testing:"YTKNetwork iOSTests"/YTKPerformanceTests -skip-testing:"YTKNetwork iOSTests"/YTKResumableDownloadTests | xcpretty -c
elif [ "$TEST_TYPE" = macOS ]; then
set -o pipefail
xcodebuild test -scheme "YTKNetwork macOS" -sdk macosx -skip-testing:"YTKNetwork macOSTests"/YTKPerformanceTests -skip-testing:"YTKNetwork macOSTests"/YTKResumableDownloadTests | xcpretty -c
elif [ "$TEST_TYPE" = tvOS ]; then
set -o pipefail
xcodebuild test -scheme "YTKNetwork tvOS" -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 1080p" -skip-testing:"YTKNetwork tvOSTests"/YTKPerformanceTests -skip-testing:"YTKNetwork tvOSTests"/YTKResumableDownloadTests | xcpretty -c
fi
112 changes: 0 additions & 112 deletions AFNetworking/AFDownloadRequestOperation/AFDownloadRequestOperation.h

This file was deleted.

Loading

0 comments on commit e72568f

Please sign in to comment.