Skip to content

Commit

Permalink
Update Travis CI build to include SPM, Cocoapods, and Carthage verifi…
Browse files Browse the repository at this point in the history
…cation steps
  • Loading branch information
mikenachbaur-okta committed Dec 1, 2020
1 parent b4654b8 commit 6b83bac
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
language: objective-c
osx_image: xcode10.1
xcode_workspace: OktaAuthSdk.xcworkspace
xcode_scheme: OktaAuthNative iOS
xcode_destination: platform=iOS Simulator,OS=latest,name=iPhone 8
osx_image: xcode11.5
jobs:
include:
- stage: Unit tests iOS
name: iOS
script:
- xcodebuild -workspace OktaAuthSdk.xcworkspace -scheme "OktaAuthNative iOS" -destination "platform=iOS Simulator,OS=latest,name=iPhone 11" clean test
- stage: Swift Package Manager validation
name: MacOS
script:
- swift test
- stage: Cocoapods validation
name: iOS
script:
- pod lib lint --allow-warnings
- stage: Carthage validation
name: iOS
script:
- carthage build --no-skip-current

0 comments on commit 6b83bac

Please sign in to comment.