-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (39 loc) · 1.27 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
language: c
sudo: required
matrix:
include:
-
os: osx
osx_image: xcode10.2
before_install:
- sudo log config --subsystem "xctest" --mode "persist:debug"
script:
- swift test
-
os: osx
osx_image: xcode10.2
before_install:
- sudo log config --subsystem "xctest" --mode "persist:debug"
- swift package generate-xcodeproj --xcconfig-overrides Package.xcconfig
script:
- xcodebuild -project TraceLogAdaptiveWriter.xcodeproj -scheme TraceLogAdaptiveWriter-Package -destination "platform=OS X,arch=x86_64" -sdk macosx -enableCodeCoverage YES test
after_success:
- bash <(curl -s https://codecov.io/bash)
-
os: osx
osx_image: xcode10.2
before_install:
- bundle install
- pod repo update
script:
- bundle exec pod lib lint
-
os: linux
services:
- docker
before_install:
- docker build -t systemd-test .
- docker run --rm --privileged -v /:/host systemd-test setup
- docker run -d --name systemd-test --security-opt seccomp=unconfined --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro -t systemd-test
script:
- docker exec -t systemd-test bash -c "swift test;"