forked from RxSwiftCommunity/RxDataSources
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
22 lines (16 loc) · 1.23 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
language: objective-c
osx_image: xcode10
notifications:
slack: rxswift:3ykt2Z61f8GkdvhCZTYPduOL
email: false
install: true
env:
- BUILD="carthage update --platform iOS && pushd Examples && set -o pipefail && (xcodebuild -project Example.xcodeproj -scheme ExampleUITests -configuration Release -destination 'platform=iOS Simulator,name=iPhone 7' test && xcodebuild -project Example.xcodeproj -scheme Example -configuration Release -destination 'platform=iOS Simulator,name=iPhone 7' build) | xcpretty"
- BUILD="carthage update --platform ios && set -o pipefail && (xcodebuild -project RxDataSources.xcodeproj -scheme Tests -configuration Release -destination 'platform=iOS Simulator,name=iPhone 7' test) | xcpretty"
- BUILD="gem install cocoapods --pre --no-rdoc --no-ri --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