-
Notifications
You must be signed in to change notification settings - Fork 173
/
.travis.yml
81 lines (70 loc) · 2.56 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
language: python
python:
- 2.7
before_install:
- sudo apt-get update -qq
- sudo apt-get install python-dev libffi-dev libssl-dev libjpeg-dev
script:
- cd ..
- tar cfz master.tar.gz community
- pip install -U pip setuptools
- git clone https://github.com/cuckoosandbox/cuckoo.git
- cd cuckoo
- git checkout 2.0-rc1
- sed -i 's/.*pefile.*//g' requirements.txt
- sed -i s/six==1.9.0/six==1.11.0/g requirements.txt
- pip install -r requirements.txt
- rm -rf data/monitor
- python utils/community.py -waf ../master.tar.gz >/dev/null
- python cuckoo.py -d 2>&1|grep "Unable to bind ResultServer"
- rm -rf * && git checkout .
- git checkout 2.0-rc2
- sed -i s/lxml==3.6.0//g requirements.txt
- sed -i s/peepdf==0.3.2//g requirements.txt
- sed -i s/six==1.9.0/six==1.11.0/g requirements.txt
- pip install -r requirements.txt
- rm -rf data/monitor
- python utils/community.py -waf ../master.tar.gz >/dev/null
- python cuckoo.py -d 2>&1|grep "Unable to bind ResultServer"
- rm -rf * && git checkout .
- git checkout 2.0.0
- cp -rf ../community/data/monitor/* cuckoo/data/monitor
- git checkout cuckoo/data/monitor/latest
- pip install pyopenssl==16.2.0 cryptography==1.3.2
- python setup.py develop >/dev/null
- cuckoo init
- cuckoo community --file ../master.tar.gz
- cuckoo -d 2>&1|grep "Unable to bind ResultServer"
- rm -rf ~/.cuckoo
- git checkout 2.0.4.4
- cp -rf ../community/data/monitor/* cuckoo/data/monitor
- git checkout cuckoo/data/monitor/latest
- pip uninstall -y cuckoo idna pyopenssl cryptography requests
- python setup.py sdist install >/dev/null
- cuckoo init
- cuckoo community --file ../master.tar.gz
- cuckoo -d 2>&1|grep "Unable to bind ResultServer"
- rm -rf ~/.cuckoo
- git checkout cuckoo/data-private/cwd/hashes.txt
- git checkout 2.0.5.3
- cp -rf ../community/data/monitor/* cuckoo/data/monitor
- git checkout cuckoo/data/monitor/latest
- pip uninstall -y cuckoo
- python setup.py sdist install >/dev/null
- cuckoo init
- cuckoo community --file ../master.tar.gz
- cuckoo -d 2>&1|grep "Unable to bind ResultServer"
- rm -rf ~/.cuckoo
- git checkout cuckoo/private/cwd/hashes.txt
- git checkout master
- cp -rf ../community/data/monitor/* cuckoo/data/monitor
- git checkout cuckoo/data/monitor/latest
- pip freeze | xargs pip uninstall -y
- python setup.py sdist install >/dev/null
- cuckoo init
- cuckoo community --file ../master.tar.gz
- cuckoo -d 2>&1|grep "Unable to bind ResultServer"
- rm -rf ~/.cuckoo
- cd ../community
- pip install pytest
- py.test