mirror of
https://github.com/cuckoosandbox/cuckoo.git
synced 2026-10-12 02:12:40 +00:00
make newer signatures and extractors work, update readme links
This commit is contained in:
@@ -54,6 +54,9 @@ install:
|
||||
# Fetch monitor & stuff which is required for CWD migration tests.
|
||||
- python stuff/monitor.py
|
||||
|
||||
# Bump the version of Cuckoo during tests (e.g., for new Signatures).
|
||||
- python stuff/patch_version.py setup.py 3.0
|
||||
|
||||
- pip install -U pip setuptools
|
||||
- python setup.py sdist
|
||||
- pip install -e .
|
||||
|
||||
+5
-5
@@ -33,17 +33,17 @@ This is a development version, we do not recommend its use in production.
|
||||
You can find a full documentation of the latest stable release
|
||||
`here <http://docs.cuckoosandbox.org/>`_.
|
||||
|
||||
.. image:: https://travis-ci.org/cuckoosandbox/cuckoo.png?branch=package
|
||||
.. image:: https://travis-ci.org/cuckoosandbox/cuckoo.png?branch=master
|
||||
:alt: Linux Build Status
|
||||
:target: https://travis-ci.org/cuckoosandbox/cuckoo
|
||||
|
||||
.. image:: https://ci.appveyor.com/api/projects/status/p892esebjdbhq653/branch/package?svg=true
|
||||
.. image:: https://ci.appveyor.com/api/projects/status/p892esebjdbhq653/branch/master?svg=true
|
||||
:alt: Windows Build Status
|
||||
:target: https://ci.appveyor.com/project/jbremer/cuckoo/branch/package
|
||||
:target: https://ci.appveyor.com/project/jbremer/cuckoo/branch/master
|
||||
|
||||
.. image:: https://coveralls.io/repos/github/cuckoosandbox/cuckoo/badge.svg?branch=package
|
||||
.. image:: https://coveralls.io/repos/github/cuckoosandbox/cuckoo/badge.svg?branch=master
|
||||
:alt: Coverage Coverage Status
|
||||
:target: https://coveralls.io/github/cuckoosandbox/cuckoo?branch=package
|
||||
:target: https://coveralls.io/github/cuckoosandbox/cuckoo?branch=master
|
||||
|
||||
.. image:: https://codecov.io/gh/cuckoosandbox/cuckoo/branch/master/graph/badge.svg
|
||||
:alt: Codecov Coverage Status
|
||||
|
||||
@@ -18,6 +18,9 @@ install:
|
||||
# Fetch monitor & stuff which is required for setup & CWD migration tests.
|
||||
- "python.exe stuff/monitor.py"
|
||||
|
||||
# Bump the version of Cuckoo during tests (e.g., for new Signatures).
|
||||
- "python.exe stuff/patch_version.py setup.py 3.0"
|
||||
|
||||
- "python.exe setup.py sdist"
|
||||
- "pip.exe install -e ."
|
||||
- "pip.exe install psycopg2 mysqlclient==1.3.9 codecov flask-testing"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
# Copyright (C) 2017 Cuckoo Foundation.
|
||||
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
|
||||
# See the file 'docs/LICENSE' for copying permission.
|
||||
|
||||
import re
|
||||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) != 3:
|
||||
print "Usage: python %s <setup.py> <version>" % sys.argv[0]
|
||||
exit(1)
|
||||
|
||||
# Patches the version="..." string in setup.py.
|
||||
buf = open(sys.argv[1], "rb").read()
|
||||
buf = re.sub('version="(.*)"', 'version="%s"' % sys.argv[2], buf)
|
||||
open(sys.argv[1], "wb").write(buf)
|
||||
Reference in New Issue
Block a user