From 135dd0dbe4059061176a4441db9722601e955dbc Mon Sep 17 00:00:00 2001 From: "mike@arpaia.co" Date: Wed, 24 Sep 2014 13:07:28 -0700 Subject: [PATCH] TravisCI configuration --- .travis.yml | 14 ++++++++++++++ osquery/CMakeLists.txt | 1 - tools/provision.sh | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..5b181cbf --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: cpp + +os: + - osx + +compiler: + - clang + +before_install: + - make deps + +script: + - make + - make test diff --git a/osquery/CMakeLists.txt b/osquery/CMakeLists.txt index afe69be0..9665363d 100644 --- a/osquery/CMakeLists.txt +++ b/osquery/CMakeLists.txt @@ -222,7 +222,6 @@ if(NOT APPLE) INCLUDE(CPack) else() - CMAKE_POLICY(SET CMP0037 OLD) ADD_CUSTOM_TARGET( package packagesbuild -v ${CMAKE_SOURCE_DIR}/deploy/darwin/osquery.pkgproj && diff --git a/tools/provision.sh b/tools/provision.sh index 4b667099..c0a89bac 100755 --- a/tools/provision.sh +++ b/tools/provision.sh @@ -296,7 +296,7 @@ function main() { fi cd $SCRIPT_DIR/../ - pip install -r requirements.txt + sudo pip install -r requirements.txt git submodule init git submodule update }