-
Notifications
You must be signed in to change notification settings - Fork 85
/
.travis.yml
25 lines (21 loc) · 1004 Bytes
/
.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
language: objective-c
os: osx
matrix:
include:
- osx_image: xcode10.2 # macOS 10.14
- osx_image: xcode9.4 # macOS 10.13
- osx_image: xcode9.2 # macOS 10.12
script:
- xcodebuild -project Thunderbolt3Unblocker.xcodeproj -scheme Thunderbolt3Unblocker -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO SYMROOT=./build
- sudo chown -R root:wheel ./build/Release/Thunderbolt3Unblocker.kext
- sw_vers -buildVersion | grep -q '^16[A-Z]' && sudo kextutil -nt build/Release/Thunderbolt3Unblocker.kext || true
# It would be nice to subsequently load and test the kernel extension, but this
# is not currently possible on Travis CI.
#
# Note that the kext runs xnu_override_test on load, and will fail the kextload
# if the command fails. (That, or the system will panic.)
#
# - sudo kextload ./build/Release/Thunderbolt3Unblocker.kext
#
# The sw_vers command above only runs kextutil on macOS 10.12; otherwise it
# fails with "Unable to stage kext to secure location"