diff --git a/.travis.yml b/.travis.yml index 74bcf10e..860dbc6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,16 +19,20 @@ compiler: gcc env: - BUILD_TYPE=debug - BUILD_TYPE=release -dist: xenial +dist: bionic services: - docker before_install: - - sudo apt-get update + - sudo apt update -y install: + - sudo apt install openssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev jq -y - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) - sudo apt-get install rpm linux-headers-$(uname -r) libelf-dev - git clone https://github.com/draios/sysdig.git ../sysdig - pushd ../sysdig && (git checkout "${BRANCH}" || exit 0) && echo "Using branch:" $(git rev-parse --abbrev-ref HEAD) && popd script: - mkdir build - - ./scripts/build "${TRAVIS_BUILD_DIR}/.." "${TRAVIS_BUILD_DIR}/build" + - cmake .. + - make -j4 falco + # todo(fntlnz): execute tests and regression tests at this point + #- ./scripts/build "${TRAVIS_BUILD_DIR}/.." "${TRAVIS_BUILD_DIR}/build"