Switch to build matrix
This commit is contained in:
parent
bcb5ced70e
commit
fbd243f205
14
.travis.yml
14
.travis.yml
@ -18,18 +18,20 @@ services:
|
|||||||
- docker
|
- docker
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
global:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
matrix:
|
||||||
|
- EXPLOIT=CVE-2017-16995
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- go get -u code.dumpstack.io/tools/out-of-tree
|
- go get -u code.dumpstack.io/tools/out-of-tree
|
||||||
- sudo ln -s $HOME/.out-of-tree /root/
|
- sudo ln -s $HOME/.out-of-tree /root/
|
||||||
- out-of-tree bootstrap
|
- out-of-tree bootstrap
|
||||||
|
- |
|
||||||
|
cd $TRAVIS_BUILD_DIR/$EXPLOIT
|
||||||
|
out-of-tree kernel autogen --max=8
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- sudo $(which out-of-tree) pack --autogen
|
|
||||||
- |
|
- |
|
||||||
out-of-tree log query | grep FAILURE | while read line; do
|
cd $TRAVIS_BUILD_DIR/$EXPLOIT
|
||||||
ID=$(echo $line | grep -o '[0-9]\+' | head -n 1)
|
sudo $(which out-of-tree) pew --max=8
|
||||||
out-of-tree log dump $ID | tr -cd '\11\12\15\40-\176'
|
|
||||||
done
|
|
||||||
- out-of-tree log query
|
|
||||||
|
Loading…
Reference in New Issue
Block a user