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
Bogdan Poplauschi
f8a7b6bac7
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 12:48:26 +03:00
Bogdan Poplauschi
d625be8d98
Need to clean the SDWebImage scheme to allow the tests to rebuild it using their required platform.
2016-05-29 00:53:49 +03:00
Bogdan Poplauschi
8e300c92a4
Need to clean the SDWebImage scheme to allow the tests to rebuild it using their required platform.
2016-05-29 00:50:24 +03:00
Bogdan Poplauschi
44eac986bb
Another attempt at the build
2016-05-29 00:44:02 +03:00
Bogdan Poplauschi
afaf306222
This should fix the build (the tests project)
2016-05-29 00:00:33 +03:00
Bogdan Poplauschi
718cbcad3e
The tests target should also use xcpretty
2016-05-08 23:41:31 +03:00
Bogdan Poplauschi
3902ed7dec
Fixed the build (the test target cannot do clean)
2016-05-08 23:29:29 +03:00
Bogdan Poplauschi
56c1ba63ad
Cleanup for the Travis CI config file
2016-05-08 23:04:40 +03:00
hoseking
11c7efb6e1
Add CocoaPods support for tvOS
2015-10-30 10:50:33 -07:00
Bogdan Poplauschi
d41bfaf8c8
Fix: xcodebuild: error: -destination implies architecture, -arch must not also be specified.
2015-03-17 16:53:00 +02:00
Bogdan Poplauschi
6c29c8b009
Another try to fix the travis builds
2015-03-17 16:36:50 +02:00
Bogdan Poplauschi
b3ad18ea56
Updated travis.yml
2015-03-17 16:14:33 +02:00
Bogdan Poplauschi
36f5b1e4e9
The latest libwebp library has some warnings that cause our pod spec lint to fail
2015-03-17 15:43:11 +02:00
Bogdan Poplauschi
0aa9b61bcc
Everything worked except the tests, trying using xcodebuild instead of xctool
2014-11-04 13:52:11 +02:00
Bogdan Poplauschi
542fc29808
Another try with Travis CI, this time no clean action, as it fails with
...
xcodebuild build clean
Scheme Tests is not currently configured for the clean action.
2014-11-04 13:44:45 +02:00
Bogdan Poplauschi
0b50b57c13
Reverted last change, doesn't work with Travis CI
2014-11-04 12:28:49 +02:00
Bogdan Poplauschi
55f4beade5
Updated Travis CI config, making sure xctool is installed
2014-11-04 12:22:59 +02:00
Bogdan Poplauschi
ef9a2798a7
Updated Travis CI script, replaced xcpretty with xctool
2014-11-04 12:16:25 +02:00