forked from NoTests/RxFeedback.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (20 loc) · 1.02 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
language: objective-c
os:
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode12.2
env:
- BUILD="pushd Examples && pod repo update && pod install && set -o pipefail && (xcodebuild -workspace Examples.xcworkspace -scheme Example -destination 'platform=iOS Simulator,name=iPhone 12' build) | xcpretty"
- BUILD="pod repo update && pod lib lint RxFeedback.podspec --verbose"
- BUILD="swift build"
# Carthage is still broken for Xcode 12, until support for XCFrameworks is added
# - BUILD="carthage update --platform ios && carthage build --no-skip-current --platform iOS && set -o pipefail && (xcodebuild -project RxFeedback.xcodeproj -scheme RxFeedbackTests -destination 'platform=iOS Simulator,name=iPhone 7' test) | xcpretty"
# - BUILD="carthage update --platform tvOS && carthage build --no-skip-current --platform tvOS"
script: eval "${BUILD}"
notifications:
slack: rxswift:3ykt2Z61f8GkdvhCZTYPduOL
email: false
after_success:
- sleep 5 # workaround https://github.com/travis-ci/travis-ci/issues/4725