-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
34 lines (33 loc) · 1.04 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
language: objective-c
os: osx
osx_image: xcode12.5
before_install:
- gem install xcpretty
- gem install cocoapods
jobs:
include:
- stage: Integration Tests
name: iOS
script:
- set -o pipefail && xcodebuild -project OktaSecureStorage.xcodeproj -scheme "OktaSecureStorage" -destination "platform=iOS Simulator,OS=latest,name=iPhone 11" clean test | xcpretty
- stage: Build
name: macOS
script:
- set -o pipefail && xcodebuild -project OktaSecureStorage.xcodeproj -scheme "OktaSecureStorage-macOS" -destination "platform=macOS" build | xcpretty
- stage: Dependency Manager Validation
name: CocoaPods
script:
- pod lib lint --allow-warnings
- stage: Dependency Manager Validation
name: SPM
script:
- swift test
# - stage: Dependency Manager Validation
# name: Carthage
# addons:
# homebrew:
# packages:
# - carthage
# update: true
# script:
# - carthage build --use-xcframeworks --no-skip-current