Add the SwiftPM build steps in travis-CI
This commit is contained in:
parent
ea89adeb45
commit
ddcf5d255d
|
@ -28,3 +28,6 @@ DerivedData
|
|||
#
|
||||
Pods/
|
||||
Podfile.lock
|
||||
|
||||
# SwiftPM
|
||||
.build
|
|
@ -35,6 +35,10 @@ script:
|
|||
- echo Check if the library described by the podspec can be built
|
||||
- pod lib lint --allow-warnings --skip-tests # Will run test below
|
||||
|
||||
- echo Build the SwiftPM
|
||||
- swift build
|
||||
- rm -rf ~/.build
|
||||
|
||||
- echo Build as static library
|
||||
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage static' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
|
||||
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage static' -sdk watchsimulator -configuration Debug | xcpretty -c
|
||||
|
|
Loading…
Reference in New Issue