forked from hieplpvip/AppleBacklightSmoother
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (52 loc) · 3.08 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
56
57
58
59
60
61
language: cpp
matrix:
include:
- os: osx
name: "Build"
osx_image: xcode11.6
compiler: clang
script:
- git clone https://github.com/acidanthera/MacKernelSDK
- src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval "$src" || exit 1
- xcodebuild -jobs 1 -configuration Debug
- xcodebuild -jobs 1 -configuration Release
deploy:
provider: releases
skip_cleanup: true
file: "build/*/*.zip"
file_glob: true
api_key:
secure: "YY94nxjIwqurEmhrrx3X8V0EMeJIfoAUV+dRO2C0Exj9H3vnkFDT7AV0ZDXS46oHPfytrTah+6KpqF2qvsGwX7tanaLnhAslo7ofBIKgxF8n5qQjIhCdo33F09Y2q4gRVqCPd6LJFjf5pZXCmeDdd7TIb0cE3C9RgwlvDKLYYMP4EUSTcI0J7kg4AlRcy6vRSCGWYiwhUKy0ZfS5XaLgfiUGyTZke5StJ3TngkTDMCOaEQFCXUfemePsw9f4LUhcG7hrRnqcNYl55HVOxqDtLfHFanklDBqV40t5/pFCYhcH3slAzfjPNZND+bQJu5hu24a6A/yksI7TIh8O+vhL5adHLJvlfGuBHkS3ozUS5GkITIfzcD3f3/n5QwpZSMI5UURJsYOVMgli5ejK0Ic3LYVOb59KRt3xAcw6UQ4MGAtOCxnwmvR1h+SmliVyAzCXb7Cc2tAJIZCrIyAkmo9JAL8JR8w7ecO4vgB8LwtPS2CSDGCkcaUMeaD58i2FISgT3WjNleFO8bXYfcKsZXojF8TnMMYCIBnNrhRr0LZKkVwVmKWeTfyYF+5S6U56hyXL2fOBB6vRwKjvEbqcx21qGz/ip3bmT0Id7oDZhALgW6kOsIqZvEKiPTCyZh6zy/kDUPVraGA8jE3VzR050xu7A0C/NgVz+7+7iVeIo6dJk2w="
on:
tags: true
- os: osx
name: "Analyze Clang"
osx_image: xcode11
compiler: clang
script:
- git clone https://github.com/acidanthera/MacKernelSDK
- src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval "$src" || exit 1
- xcodebuild analyze -quiet -configuration Debug CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- xcodebuild analyze -quiet -configuration Release CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- os: osx
name: "Analyze Coverity"
osx_image: xcode10.2
compiler: clang
before_install:
- git clone https://github.com/acidanthera/MacKernelSDK
- curl -Ls https://entrust.com/root-certificates/entrust_l1k.cer -o ~/entrust_l1k.crt || exit 1
- curl -LS https://curl.haxx.se/ca/cacert.pem -o ~/cacert.pem || exit 1
- cat ~/entrust_l1k.crt >> ~/cacert.pem || exit 1
- echo "cacert=\"$HOME/cacert.pem\"" > ~/.curlrc || exit 1
- echo "ca_certificate=$HOME/cacert.pem" > ~/.wgetrc || exit 1
script:
- echo "This script runs coverity..."
addons:
coverity_scan:
project:
name: "hieplpvip/AppleBacklightSmoother"
description: "AppleBacklightSmoother"
notification_email: $NOTIFICATION_EMAIL
build_command_prepend: "src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval \"$src\" || exit 1 ; src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/covstrap.sh) && eval \"$src\" || exit 1"
build_command: "xcodebuild -configuration Release"
branch_pattern: master