forked from buffer/thug
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
20 lines (20 loc) · 712 Bytes
/
.travis.yml
File metadata and controls
20 lines (20 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
sudo: required
language: python
python:
- "2.7"
before_install:
- sudo apt-get update
- sudo apt-get install libboost-python-dev libboost-all-dev systemtap-sdt-dev libfuzzy-dev graphviz
install:
- sudo pip install pylibemu
- pip install tox
script:
- echo "/opt/libemu/lib/" | sudo tee --append /etc/ld.so.conf.d/libemu.conf
- sudo ldconfig
- sudo mkdir -p /etc/thug/{rules,personalities,scripts}
- sudo cp -R thug/Classifier/rules/* /etc/thug/rules/
- sudo cp -R thug/DOM/personalities/* /etc/thug/personalities
- sudo cp -t /etc/thug/scripts thug/DOM/{thug.js,storage.js,date.js,eval.js,write.js} thug/Debugger/d8.js
- sudo cp -t /etc/thug/ conf/thug.conf
- tox
- echo "Build done"