forked from okta/okta-ios-jwt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (37 loc) · 1.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: objective-c
os: osx
osx_image: xcode12.5
before_install:
- gem install xcpretty
- gem install cocoapods
jobs:
include:
- stage: Unit Tests
name: iOS
script:
- set -o pipefail && xcodebuild -project OktaJWT.xcodeproj -scheme "OktaJWTLib_iOS" -destination "platform=iOS Simulator,OS=latest,name=iPhone 11" clean test | xcpretty
- stage: Unit Tests
name: macOS
script:
- set -o pipefail && xcodebuild -project OktaJWT.xcodeproj -scheme "OktaJWTLib_macOS" -destination "platform=macOS" clean test | xcpretty
- stage: Unit Tests
name: SPM
script:
- swift test
- stage: Dependency Manager Validation
name: SPM
script:
- swift build
- stage: Dependency Manager Validation
name: CocoaPods
script:
- pod lib lint --allow-warnings
- stage: Dependency Manager Validation
name: Carthage
addons:
homebrew:
packages:
- carthage
update: true
script:
- carthage build --use-xcframeworks --no-skip-current