-
Notifications
You must be signed in to change notification settings - Fork 496
/
.travis.yml
23 lines (17 loc) · 1.25 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
language: objective-c
osx_image: xcode11.5
notifications:
slack: rxswift:3ykt2Z61f8GkdvhCZTYPduOL
email: false
install: true
env:
- BUILD="brew install swiftlint"
- BUILD="carthage update --platform iOS && pushd Examples && set -o pipefail && (xcodebuild -project Example.xcodeproj -scheme ExampleUITests -configuration Release -destination 'platform=iOS Simulator,name=iPhone 8' test && xcodebuild -project Example.xcodeproj -scheme Example -configuration Release -destination 'platform=iOS Simulator,name=iPhone 8' build) | xcpretty"
- BUILD="carthage update --platform iOS && set -o pipefail && (xcodebuild -project RxDataSources.xcodeproj -scheme Tests -configuration Release -destination 'platform=iOS Simulator,name=iPhone 8' test) | xcpretty"
- BUILD="gem install cocoapods --pre --no-document --quiet; pod repo update && pod lib lint RxDataSources.podspec --verbose && pod lib lint Differentiator.podspec --verbose "
- BUILD="carthage update --platform iOS && carthage build --no-skip-current --platform iOS"
- BUILD="carthage update --platform tvOS && carthage build --no-skip-current --platform tvOS"
- BUILD="swift test"
script: eval "${BUILD}"
after_success:
- sleep 5 # workaround https://github.com/travis-ci/travis-ci/issues/4725