forked from NoTests/RxFeedback.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (22 loc) · 1.55 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
language: objective-c
os:
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode9
env:
- BUILD="pod repo update && pod update && set -o pipefail && (xcodebuild -workspace RxFeedback.xcworkspace -scheme RxFeedbackTests -destination 'platform=iOS Simulator,name=iPhone 7' test && xcodebuild -workspace RxFeedback.xcworkspace -scheme Example -destination 'platform=iOS Simulator,name=iPhone 7' build) | xcpretty"
- BUILD="./dependencies.sh && set -o pipefail && (xcodebuild -project RxFeedback.xcodeproj -scheme RxFeedbackTests -destination 'platform=iOS Simulator,name=iPhone 7' test && xcodebuild -project RxFeedback.xcodeproj -scheme Example -destination 'platform=iOS Simulator,name=iPhone 7' build) | xcpretty"
- BUILD="carthage update --platform ios && set -o pipefail && (xcodebuild -project RxFeedback.xcodeproj -scheme RxFeedbackTests -destination 'platform=iOS Simulator,name=iPhone 7' test && xcodebuild -project RxFeedback.xcodeproj -scheme Example -destination 'platform=iOS Simulator,name=iPhone 7' build) | xcpretty"
- BUILD="pod repo update && pod lib lint RxFeedback.podspec --verbose"
- BUILD="swift build"
- 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}"
notifications:
slack: rxswift:3ykt2Z61f8GkdvhCZTYPduOL
email: false
after_success:
- sleep 5 # workaround https://github.com/travis-ci/travis-ci/issues/4725