-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
.travis.yml
55 lines (54 loc) · 1.41 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
language: generic
jobs:
include:
- stage: Continuous Integration
name: Linux Swift 4.1
os: linux
dist: trusty
sudo: required
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
- swiftenv install 4.1
- swiftenv local 4.1
- swift --version
script:
- swift test --parallel
- stage: Continuous Integration
name: Linux Swift 4.2
os: linux
dist: trusty
sudo: required
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
- swiftenv install 4.2
- swiftenv local 4.2
- swift --version
script:
- swift test --parallel
- stage: Continuous Integration
name: macOS Swift 4.1
os: osx
osx_image: xcode9.3
script:
- swift test --parallel
- stage: Continuous Integration
name: macOS Swift 4.1.2
os: osx
osx_image: xcode9.4
script:
- swift test --parallel
- stage: Continuous Integration
name: macOS Swift 4.2
os: osx
osx_image: xcode10
script:
- swift test --parallel
- stage: Continuous Integration
name: Code Coverage (Swift 4.1)
os: osx
osx_image: xcode9.3
script:
- swift package generate-xcodeproj --enable-code-coverage
- xcodebuild -scheme MarkdownGenerator-Package test
after_success:
- bash <(curl -s https://codecov.io/bash)