-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from draios/dev
Merging for 0.2.0
- Loading branch information
Showing
16 changed files
with
558 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
/build* | ||
*~ | ||
test/falco_test.pyc | ||
test/falco_tests.yaml | ||
test/traces-negative | ||
test/traces-positive | ||
test/traces-info | ||
test/job-results | ||
|
||
userspace/falco/lua/re.lua | ||
userspace/falco/lua/lpeg.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
language: c | ||
env: | ||
- BUILD_TYPE=Debug | ||
- BUILD_TYPE=Release | ||
before_install: | ||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | ||
- sudo apt-get update | ||
install: | ||
- sudo apt-get --force-yes install g++-4.8 | ||
- sudo apt-get install rpm linux-headers-$(uname -r) | ||
- git clone https://github.com/draios/sysdig.git ../sysdig | ||
- sudo apt-get install -y python-pip libvirt-dev jq | ||
- cd .. | ||
- curl -Lo avocado-36.0-tar.gz https://github.com/avocado-framework/avocado/archive/36.0lts.tar.gz | ||
- tar -zxvf avocado-36.0-tar.gz | ||
- cd avocado-36.0lts | ||
- sudo pip install -r requirements-travis.txt | ||
- sudo python setup.py install | ||
- cd ../falco | ||
before_script: | ||
- export KERNELDIR=/lib/modules/$(ls /lib/modules | sort | head -1)/build | ||
script: | ||
- set -e | ||
- export CC="gcc-4.8" | ||
- export CXX="g++-4.8" | ||
- wget https://s3.amazonaws.com/download.draios.com/dependencies/cmake-3.3.2.tar.gz | ||
- tar -xzf cmake-3.3.2.tar.gz | ||
- cd cmake-3.3.2 | ||
- ./bootstrap --prefix=/usr | ||
- make | ||
- sudo make install | ||
- cd .. | ||
- mkdir build | ||
- cd build | ||
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE | ||
- make VERBOSE=1 | ||
- make package | ||
- cd .. | ||
- sudo test/run_regression_tests.sh | ||
notifications: | ||
webhooks: | ||
urls: | ||
# - https://webhooks.gitter.im/e/fdbc2356fb0ea2f15033 | ||
on_success: change | ||
on_failure: always | ||
on_start: never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.