Skip to content

Commit 94aa1e6

Browse files
committed
Update travis ci script , test Carthage build
1 parent 66e08c9 commit 94aa1e6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ before_install:
1717
- locale
1818
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
1919
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
20+
- brew update
21+
- brew upgrade carthage
2022
- pod --version
2123
- pod setup --silent > /dev/null
2224
- pod repo update --silent
@@ -28,7 +30,13 @@ script:
2830
- set -o pipefail
2931

3032
- echo Check if the library described by the podspec can be built
31-
- pod lib lint --allow-warnings
33+
# - pod lib lint --allow-warnings
34+
35+
- echo Build as dynamic frameworks
36+
- carthage update --platform ios,tvos,macos --configuration DEBUG
37+
- xcodebuild build clean -project SDWebImageSVGCoder.xcodeproj -scheme 'SDWebImageSVGCoder iOS' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
38+
- xcodebuild build clean -project SDWebImageSVGCoder.xcodeproj -scheme 'SDWebImageSVGCoder tvOS' -sdk appletvsimulator -configuration Debug | xcpretty -c
39+
- xcodebuild build clean -project SDWebImageSVGCoder.xcodeproj -scheme 'SDWebImageSVGCoder macOS' -sdk macosx -configuration Debug | xcpretty -c
3240

3341
- echo Build example
3442
- pod install --project-directory=Example

0 commit comments

Comments
 (0)