forked from checkout/frames-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
21 lines (21 loc) · 902 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: swift
osx_image: xcode12.4
all_branches: true
cache:
directories:
- Carthage
script:
- pod install --project-directory='iOS Example Frame' --repo-update
- pod lib lint
- xcodebuild test -workspace 'iOS Example Frame/iOS Example Frame.xcworkspace' -scheme 'Frames-Unit-Tests' -destination 'OS=13.5,name=iPhone 11'
- xcodebuild build -project 'iOS Example Frame SPM/iOS Example Frame SPM.xcodeproj' -scheme 'iOS Example Frame' -destination 'OS=13.5,name=iPhone 11'
- carthage update --cache-builds --platform iOS --use-xcframeworks
- xcodebuild build -project 'iOS Example Frame Carthage/iOS Example Frame Carthage.xcodeproj' -scheme 'iOS Example Frame' -destination 'OS=13.5,name=iPhone 11'
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: script
script: chmod +x ./scripts/push.sh && ./scripts/push.sh
skip_cleanup: true
on:
tags: true