-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
51 lines (51 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
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
osx_image: xcode11.3
cache:
- bundler: true
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bundle install; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bundle exec danger; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew bundle; fi
jobs:
include:
- stage: Test
name: "SwiftPM - Linux"
os: linux
sudo: required
dist: trusty
env:
- SWIFT_VERSION=5.0
- SWIFTENV_INSTALL="https://gist.githubusercontent.com/johnhammerlund/b4c3686e4270d463ef955c5a77f0b814/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh"
install:
- eval "$(curl -sL $SWIFTENV_INSTALL)"
script:
- rake test_spm
- stage: Test
name: "SwiftPM - macOS"
os: osx
script:
- rake test_spm
- stage: Test
name: "iOS"
os: osx
sudo: required
script:
- rake test_ios
- stage: Test
name: "macOS"
os: osx
script:
- rake test_macos
- stage: Test
name: "tvOS"
os: osx
sudo: required
script:
- rake test_tvos
- stage: Test
name: "watchOS"
os: osx
script:
- rake test_watchos
after_success:
- bash <(curl -s https://codecov.io/bash) -J 'Relay' -F main