forked from osquery/osquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (33 loc) · 896 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
26
27
28
29
30
31
32
33
34
35
36
37
language: cpp
os-common:
macos: &os-common-macos
addons:
homebrew:
taps:
- facebook/fb
- homebrew/cask-versions
casks:
- java8
packages:
- buck
- watchman
- python
- python@2
before_script:
- export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"
cache:
directories:
- buck-out
matrix:
include:
- os: osx
osx_image: xcode10.1
env: OSQUERY_PLATFORM="macos-x86_64" OSQUERY_BUILD_MODE="release"
<<: *os-common-macos
- os: osx
osx_image: xcode10.1
env: OSQUERY_PLATFORM="macos-x86_64" OSQUERY_BUILD_MODE="debug"
<<: *os-common-macos
script:
- buck build @mode/${OSQUERY_PLATFORM}/${OSQUERY_BUILD_MODE} -c color.ui=never osquery:osqueryd
- buck test @mode/${OSQUERY_PLATFORM}/${OSQUERY_BUILD_MODE} -c color.ui=never osquery/...