Skip to content

Commit 972843b

Browse files
committed
Updated Travis CI Config
1 parent 230cba5 commit 972843b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.travis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
language: objective-c
2+
osx_image: xcode7
23
xcode_project: Framework/YYWebImage.xcodeproj
3-
xcode_scheme: YYWebImage
4+
xcode_scheme: YYWebImage
5+
6+
script:
7+
- xctool -project Framework/YYWebImage.xcodeproj -scheme YYWebImage build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO

YYWebImage/YYWebImageOperation.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ - (void)connection:(NSURLConnection *)connection willSendRequestForAuthenticatio
420420
}
421421
}
422422

423-
- (nullable NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse {
423+
- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse {
424424
if (!cachedResponse) return cachedResponse;
425425
if (_options & YYWebImageOptionUseNSURLCache) {
426426
return cachedResponse;

0 commit comments

Comments
 (0)