Commit Graph

69 Commits

Author SHA1 Message Date
DreamPiggy 859c76fa9f Fix the Travis-CI test using iPhone 11 Pro (iOS 13.0) simulator with Apple Watch 2019-09-22 18:25:18 +08:00
DreamPiggy 918427d39b Fix the Travis-CI test using iPhone 11 (iOS 13.0) simulator 2019-09-22 16:56:01 +08:00
DreamPiggy 26a3402f16 Update the Travis-CI environment to Xcode 11, because the test case need this 2019-09-22 15:26:43 +08:00
DreamPiggy 6185bcd788 Change the Travis-CI env to Xcode 10.3 2019-08-15 18:04:27 +08:00
DreamPiggy 0635a7cd59 Temporary comment the macOS catalyst build on Travis-CI, since it does not have macOS 10.15 env yet. 2019-08-15 17:57:28 +08:00
DreamPiggy 3e8c55e87b Update the travis-CI script for the macOS catalyst 2019-08-15 17:37:23 +08:00
DreamPiggy 2aa0b8bae6 Update the travis ci script 2019-08-13 19:36:27 +08:00
DreamPiggy ddcf5d255d Add the SwiftPM build steps in travis-CI 2019-06-18 19:31:23 +08:00
DreamPiggy df5be0e34c Update CI to use Xcode 10.2. Combine both the Example and Test Podfile into one. Make CocoaPods only generate one `Pods.xcodeproj` and fix the New Build System issue 2019-06-18 15:46:08 +08:00
DreamPiggy 2d39284a31 Update the travis script to clean DerivedData after Static Library build 2019-06-03 19:54:12 +08:00
DreamPiggy ccec69715d Fix the test project using the wrong min deployment target version 2019-04-27 14:40:08 +08:00
DreamPiggy 521a5f2b4b Don't run test during pod lib lint, run the test with next pipeline 2019-04-27 14:40:08 +08:00
DreamPiggy 17fd5da086 Using cocoapods cache to speed up the build time 2019-04-27 13:49:08 +08:00
DreamPiggy 06cac84af3 Try to use the latest curl from homebrew, instead of macOS' built-in one for uploading 2019-04-27 13:37:54 +08:00
DreamPiggy a95caa0a7e Try to reduce the build time during framework target 2019-04-27 00:21:12 +08:00
DreamPiggy 140f19de9b Update the codecov script, try to fix the report issue 2019-04-26 21:52:14 +08:00
DreamPiggy 3dad2ea7ff Config both iOS && macOS flag for codecov report 2019-04-04 13:35:20 +08:00
DreamPiggy 1b927195dd Fix the Travis-CI script about code coverage submit 2019-04-03 19:07:43 +08:00
DreamPiggy 528871455d Update travis script to avoid using pre-release of cocoapods 2019-03-14 21:51:59 +08:00
Bogdan Poplauschi f7a37ce72c iPhone 8 sim doesn't exist on Xcode10 (when targetting watch simulator). Use iPhone XS 2018-11-11 21:29:13 -06:00
Bogdan Poplauschi 887eeb4bc3 Fixes (use xcode10 image, no need for inputFileListPaths or outputFileListPaths) 2018-11-11 21:10:50 -06:00
Bogdan Poplauschi ae552f9350 Merged SDWebImage iOS + SDWebImage OSX + SDWebImage tvOS + SDWebImage watchOS targets into SDWebImage target (supports all platforms)
Merged SDWebImage iOS static + SDWebImage watchOS static targets into SDWebImage static target (supports all platforms)
Created dedicated SDWebImageMapKit target
All this is done for:
- ability to install via Carthage without MapKit dependency now we generate SDWebImage.framework and SDWebImageMapKit.framework so the users can choose to link against core or core+MapKit.
- simpler management of targets (no need to duplicate effort).
Replacement for #2078

Merged SDWebImage iOS + SDWebImage OSX + SDWebImage tvOS + SDWebImage watchOS targets into SDWebImage target (supports all platforms)
Merged SDWebImage iOS static + SDWebImage watchOS static targets into SDWebImage static target (supports all platforms)
Created dedicated SDWebImageMapKit target
All this is done for:
- ability to install via Carthage without MapKit dependency now we generate SDWebImage.framework and SDWebImageMapKit.framework so the users can choose to link against core or core+MapKit.
- simpler management of targets (no need to duplicate effort).
Replacement for #2078
2018-09-11 18:27:27 +03:00
Bogdan Poplauschi 64123734c3 Move webp component (and libwebp dependency) to SDWebImage/SDWebImageWebPCoder
- move the webp component + the libwebp dependency to SDWebImage/SDWebImageWebPCoder (including tests and demo)
- Xcode 9.4
- instead of directly linking the Demos to the frameworks, using CocoaPods (`Examples/Podfile`). This allows using SDWebImage/SDWebImageWebPCoder into our examples so we keep the WebP demos
- demos code cleanup and warnings resolved
- all links from docs (README, Migration guide, CHANGELOG) are full links, so they work even from external pages (i.e. https://cocoapods.org/pods/SDWebImage).
- added "Additional modules" section to README
2018-09-07 12:40:25 +03:00
DreamPiggy 5ea4b803d0 Update travis-ci Xcode version to 9.4, fix HEIF/HEIC coder test 2018-08-10 15:51:37 +08:00
DreamPiggy cb7d5288c3 Save the DerivedData folder for iOS & macOS test finished, only upload the correct test 2018-04-17 18:03:10 +08:00
DreamPiggy f0868ccfe8 Still fix the codecov issue by Clean all DerivedData before the test 2018-04-17 16:57:37 +08:00
DreamPiggy 62871306ce Ignore the vendor and test folder, only calculate iOS test coverage (merge macOS will wrong result) 2018-04-17 16:22:56 +08:00
DreamPiggy 27ee8a7ac2 Update the codecov script to seperate iOS & macOS test coverage 2018-04-17 15:24:10 +08:00
DreamPiggy 7cba215b1d Fix codecov to use gcov reports instead of llvm-cov 2018-04-17 14:20:58 +08:00
DreamPiggy 0fa6e88fa1 Disable travis-ci email notification 2018-02-20 20:59:16 +08:00
DreamPiggy 835495a051 Improve the travis-ci to not clean the build for dynamic framework to speed up the demo build 2018-02-20 11:41:21 +08:00
DreamPiggy 57e56d0154 Fix the test because one header file not available on iOS. Tests header search path is different from main project 2018-02-20 02:38:14 +08:00
DreamPiggy 9d78dccac7 Add tests scheme for macOS. Because we now support cross-platform, some implementation is different from UIKit & AppKit. So we also need test 2018-02-20 00:49:25 +08:00
Bogdan Poplauschi f3524d33e5 Attempt to fix the build - the Tests target link to SDWebImage.framework (iOS), so cleaning the schemes that have built that. The problem now with Xcode 9 is that those targets already contain the libwebp and FLAnimatedImage files, Xcode will not rebuild the framework from the proper sources and then we will have duplicate symbols with the libwebp and FLAnimatedImage files that are also compiled by CocoaPods separately. 2017-10-18 15:22:01 +03:00
Bogdan Poplauschi bd8d01aa30 Let's try building with Xcode 9 2017-10-17 17:52:55 +03:00
Bogdan Poplauschi af34683191 No more carthage, d6fa29c removed it, now also remove installing it via brew 2016-10-06 15:16:44 +03:00
Bogdan Poplauschi d6fa29c88a The Carthage build phase takes too long (5 minutes). Removing it. 2016-10-01 13:08:14 +03:00
Bogdan Poplauschi 64878cb24b Merge pull request #1593 from corydolphin:patch/fix-carthage-tvos
Enables BITCODE for tvOS builds
2016-09-30 21:47:09 +03:00
Bogdan Poplauschi b44f4b8a59 Removed empty line 2016-09-26 12:10:14 +03:00
Bogdan Poplauschi a1bbe8f219 Trying to integrate with Codecov.io 2016-09-26 12:06:11 +03:00
Bogdan Poplauschi 98fd09ffae Updated the Travis CI script so it doesn't fail - both the "SDWebImage iOS Demo" and "SDWebImage Watch Demo" have dependencies with other platforms, so removing the -sdk option and added destination to make sure it builds for simulator 2016-06-13 08:56:06 +03:00
Bogdan Poplauschi 67ef868d37 Let's try the build with Xcode 7.3 2016-06-13 08:25:34 +03:00
Bogdan Poplauschi a6dcf79e3b Updated the Travis CI script 2016-06-13 01:48:04 +03:00
Bogdan Poplauschi d760b43b66 Travis CI update 2016-06-13 01:15:28 +03:00
Bogdan Poplauschi 683c7edce5 watchOS Demo, created a static watchos lib target, renamed static SDWebImage to "SDWebImage iOS static", added the webp files to all targets (as libwebp is compatible with all 4 platforms). Updated Travis CI 2016-06-13 00:53:08 +03:00
Bogdan Poplauschi 4c6eb5e72e OSX compatibility and target. (NSImage+WebCache) for UIImage compatibility
Clarified and simplified the usage of TARGET_OS_* macros. Added SD_MAC, SD_UIKIT, SD_IOS, SD_TV, SD_WATCH.
Updated Travis CI
2016-06-12 23:23:53 +03:00
Bogdan Poplauschi b8e210dae9 Added the watch framework build to the Travis CI script 2016-06-12 21:11:35 +03:00
Cory Dolphin f63a236546 Adds automatic building with carthage to CI 2016-06-11 21:48:09 -07:00
Bogdan Poplauschi 3364a981d5 Merge branch 'master' into 4.x
+ SDWebImageDownloader downloadImageWithURL:... properly use the weakself-strongself pattern

# Conflicts:
#	.travis.yml
#	Examples/SDWebImage Demo.xcodeproj/project.pbxproj
#	README.md
#	SDWebImage.xcodeproj/project.pbxproj
#	SDWebImage/SDWebImageDownloader.m
#	SDWebImage/SDWebImageDownloaderOperation.h
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageManager.m
#	Tests/Podfile
#	Tests/SDWebImage Tests.xcodeproj/project.pbxproj
2016-06-07 08:36:45 +03:00
Bogdan Poplauschi 512c536fcf The pod setup output is huge with CocoaPods 1.0.0 (10.000+ lines), causes Travis to "This log is too long to be displayed. Please reduce the verbosity of your build or download the raw log." 2016-05-29 13:08:15 +03:00