mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 17:45:22 +00:00
0c0ac7c12e
Summary: Pull Request resolved: https://github.com/facebook/osquery/pull/5352 First step to enable TravisCI. Reviewed By: akindyakov Differential Revision: D13665375 fbshipit-source-id: 162ffe6bcfa531152f6efc06a9fdd202c6159517
38 lines
896 B
YAML
38 lines
896 B
YAML
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/...
|