forked from ReactiveX/RxSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (52 loc) · 1.22 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
language: objective-c
os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode8
env:
- DANGER=1
- TEST=iOS
- TEST=Unix
- TEST=watchOS
- TEST=tvOS
- TEST=iOS-Example
- TEST=SPM
matrix:
exclude:
- os: osx
env: DANGER=1
- os: linux
env: TEST=iOS
- os: linux
env: TEST=watchOS
- os: linux
env: TEST=tvOS
- os: linux
env: TEST=iOS-Example
notifications:
slack: rxswift:3ykt2Z61f8GkdvhCZTYPduOL
email: false
install:
- if [ `uname` == "Linux" ] ; then
curl -sL https://gist.github.com/kylef/5c0475ff02b7c7671d2a/raw/621ef9b29bbb852fdfd2e10ed147b321d792c1e4/swiftenv-install.sh | bash ;
fi
script:
- if [[ `uname` == "Linux" ]] ; then
. ~/.swiftenv/init;
swiftenv install 3.0 || true;
fi
- if [[ "${DANGER}" -eq 1 ]] ; then
bundle install --path vendor/bundle;
bundle exec danger --verbose;
else
if [[ `uname` == "Darwin" ]] ; then
xcodebuild -version;
xcodebuild -showsdks;
fi;
TRAVIS=1 ./scripts/all-tests.sh "${TEST}";
fi
after_success:
- sleep 5 # workaround https://github.com/travis-ci/travis-ci/issues/4725