This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
67 lines (59 loc) · 1.97 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
env:
global:
- LC_CTYPE=en_US.UTF-8
- XCPROJ="-workspace RxAutomaton.xcworkspace -scheme RxAutomaton"
osx_image: xcode10.2
matrix:
include:
- os: osx
language: objective-c
script:
- set -o pipefail
- xcodebuild build-for-testing test-without-building -destination 'platform=OS X' ENABLE_TESTABILITY=YES $XCPROJ | xcpretty
env:
- JOB=xcodebuild-macOS
- os: osx
language: objective-c
script:
- set -o pipefail
- xcodebuild build-for-testing test-without-building -destination 'platform=iOS Simulator,name=iPhone XS' ENABLE_TESTABILITY=YES $XCPROJ | xcpretty
env:
- JOB=xcodebuild-iOS
- os: osx
language: objective-c
script:
- set -o pipefail
- xcodebuild build-for-testing test-without-building -destination 'platform=tvOS Simulator,name=Apple TV 4K' ENABLE_TESTABILITY=YES $XCPROJ | xcpretty
env:
- JOB=xcodebuild-tvOS
- os: osx
language: objective-c
script:
- set -o pipefail
- xcodebuild build -destination 'platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm' $XCPROJ | xcpretty
env:
- JOB=xcodebuild-watchOS
# Comment-Out: Unknown CI failure (unreproducible in local)
# https://travis-ci.org/inamiy/ReactiveAutomaton/jobs/492530708
# - os: osx
# script:
# - pod repo update --silent
# - pod lib lint --allow-warnings
# env: JOB=pod-lint
- os: osx
language: generic
script:
- swift build
- RXAUTOMATON_SPM_TEST=1 swift test
env:
- JOB=swiftpm-mac
- os: linux
language: generic
sudo: required
dist: trusty
before_install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
script:
- swift build
- RXAUTOMATON_SPM_TEST=1 swift test
env: JOB=swiftpm-linux