-
Notifications
You must be signed in to change notification settings - Fork 45
/
.travis.yml
45 lines (43 loc) · 1.33 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: python
python:
- 3.6
- 3.7-dev
cache: pip
before_install:
- sudo apt-get update
install:
- pip install -r requirements.txt
- mkdir temp
- mkdir yara
- set YARA_DIR=/home/travis/build/Neo23x0/Fnord/yara
- wget -P ./temp https://github.com/VirusTotal/yara/archive/v3.6.3.tar.gz
- tar -xvzf ./temp/v3.6.3.tar.gz -C ./temp/
- cd ./temp/yara-3.6.3
- ./bootstrap.sh
- ./configure --disable-shared --disable-magic --disable-cuckoo --prefix=$YARA_DIR
- make
- sudo make install
- cd /home/travis/build/Neo23x0/Fnord/
script:
- yara --version
- python fnord.py
- python fnord.py -f ./test/launch-varplus.txt --noyara
- python fnord.py -f ./test/vbs.txt --show-score --show-count
- fgrep "(1* 2^0 )" fnord-rules.yar -c
- egrep "WScript" fnord-rules.yar -c
- yara -r fnord-rules.yar ./test
- python fnord.py -f ./test/inv-obf.txt --show-score --show-count -t 1 --yara-strings 4 --yara-exact
- fgrep "^'^2^+^2^" fnord-rules.yar -c
- fgrep "(^S^e^T ^ ^" fnord-rules.yar -c
- fgrep " ( ; ; ; (" fnord-rules.yar -c
- yara -r fnord-rules.yar ./test
- python fnord.py -f ./test/wraeop.sct
- fgrep ",101," fnord-rules.yar -c
- fgrep "temp%/VRE" fnord-rules.yar -c
- yara -r fnord-rules.yar ./test
notifications:
email:
recipients:
- venom14@gmail.com
on_success: always
on_failure: always