-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (28 loc) · 716 Bytes
/
.travis.yml
File metadata and controls
32 lines (28 loc) · 716 Bytes
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
language: generic
matrix:
include:
- os: linux
name: Linux Trusty
dist: trusty
sudo: required
- os: osx
name: macOS
osx_image: xcode10.3
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
eval "$(curl -sL https://swiftenv.fuller.li/install.sh)";
swiftenv install 5.0;
swiftenv local 5.0;
fi
- swift --version
script:
- swift test
- swift test --parallel
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
swift package generate-xcodeproj --enable-code-coverage;
xcodebuild -scheme ProcessRunner-Package test;
fi
after_success:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
bash <(curl -s https://codecov.io/bash);
fi