Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
6eb931d
Include pkginfo lib #253
May 27, 2019
e4f62b7
Include pkginfo lib and add the parser #253
May 29, 2019
794a684
Add the function and test to parse wheel file #253
Jun 1, 2019
d7ebe5a
Add new parser2 function for pypi #253
Jun 3, 2019
04c74ae
Add tests for the parse function #253
Jun 5, 2019
fe2f4f4
Add the dparse lib #253
Jun 9, 2019
0f4bdae
Include dparse in the dependency #253
Jun 9, 2019
c64548e
Add parse with dparse #253
Jun 11, 2019
0c579ad
Add test for dparse function #253
Jun 11, 2019
30ed9dc
Incldue the function to parse the dependencies and set back to packag…
Jun 12, 2019
e0d9ba7
Include the requirement/version info #253
Jun 12, 2019
a40e0a3
Use compat module for unicode, strings and ints #295
Abhishek-Dev09 Jun 15, 2019
ffeef68
Do not treat bytes as a string on Python3 #295
pombredanne Jun 18, 2019
5a2ac93
Port functional.py to Python3 #295
pombredanne Jun 18, 2019
7c576a0
Update Azure CI #295
pombredanne Jun 18, 2019
3c6fff5
Port configure and boostrap scripts to Python3 #295
pombredanne Jun 18, 2019
39af99d
Reorganize prebuilt plugins and avoid circular dep #295
pombredanne Jun 18, 2019
ea96511
Update thirdparty libraries minimally #295
pombredanne Jun 18, 2019
fad3ac4
Do not use explicit long L suffix on Python3 #295
pombredanne Jun 18, 2019
fa8b0b3
Do not use explicit 0 prefix on Python 3 #295
pombredanne Jun 18, 2019
63870a4
Port codec to Python3 #295
pombredanne Jun 18, 2019
00f8b33
Ensure commoncode test code is importable #295
pombredanne Jun 18, 2019
cbb28f2
Update configure documentation #295
pombredanne Jun 18, 2019
b3fe6c8
Ensure no Git EOL/autocrlf is taking place #295
pombredanne Jun 18, 2019
c3c213a
Debug azure pipelines configuration #295
pombredanne Jun 18, 2019
15c61bd
Adapt to Azure cp27m (narrow, not mu) #295
pombredanne Jun 18, 2019
4e45e80
Bump core installation packages #295
pombredanne Jun 19, 2019
971446d
Add more v3 wheels for Windows #295
pombredanne Jun 19, 2019
a3324b5
Update configure scripts for Python 2 and 3 #295
pombredanne Jun 19, 2019
b134974
Ignore lib64 on Python 3 POSIX #295
pombredanne Jun 19, 2019
8fcc8aa
Use Python that's in the PATH #295
pombredanne Jun 19, 2019
399223f
Debug azure issues #295
pombredanne Jun 19, 2019
7a7feb9
Run the minimal test suite on Azure #295
pombredanne Jun 19, 2019
0aaf918
Run checks as a regular test suite
pombredanne Jun 20, 2019
86f6615
Add name and version to ABOUT files
pombredanne Jun 20, 2019
f7d4e1a
Remove duplicate name key in ABOUT file
pombredanne Jun 20, 2019
4ff7771
congigure with PATH's python on Windows #295
pombredanne Jun 20, 2019
1fe9ee8
Use only 2 processes on Azure #295
pombredanne Jun 20, 2019
9b8b729
Update some tests that may pass on Windows #1577
pombredanne Jun 20, 2019
1a9f9c0
Return correct error code on Windows #1577
pombredanne Jun 20, 2019
4f566f7
Workaround Azure bug on Ubuntu #1577
pombredanne Jun 20, 2019
673ffdf
Move release checks back to Travis #1577
pombredanne Jun 20, 2019
7738bd6
Sync MANIFEST with latest additions #295
pombredanne Jun 20, 2019
f8d5e87
Only install Python 2 on Azure #1577
pombredanne Jun 20, 2019
703edfa
Use 'str' or compat module instead of 'basestring' on Python 3 #295
Abhishek-Dev09 Jun 18, 2019
fdb5219
Use proper type for PATH and PATH sep env var #295
Abhishek-Dev09 Jun 21, 2019
058e3b6
Use proper variable instead of type #295
Abhishek-Dev09 Jun 21, 2019
c241057
Use bytes on Linux for extensions tests #295
Abhishek-Dev09 Jun 21, 2019
9f9d9e5
Mark test as expected to fail #1577
pombredanne Jun 21, 2019
c256138
Improve tracing of 7zip runs
pombredanne Jun 21, 2019
2f612b5
Revert "Workaround Azure bug on Ubuntu" #1577
pombredanne Jun 22, 2019
7da3f7b
Do not use setlocal in Windows BAT #1577 #295
pombredanne Jun 22, 2019
d1520e1
Run tests with 2 processors #1577
pombredanne Jun 22, 2019
73a178f
Run multiple jobs in test matrix #1577
pombredanne Jun 22, 2019
6d04557
Rerun scancode tests on Ci once on failure
pombredanne Jun 22, 2019
aa4b23d
adds plugin_fingerprint file and imports
arnav-mandal1234 May 25, 2019
4e99162
Adds plugin_fingerprint
arnav-mandal1234 May 25, 2019
898a0b2
adds fingerprint plugin in the setup.py
arnav-mandal1234 May 26, 2019
b767284
Adds functions and imports to incorporate fingerprint generation algo…
arnav-mandal1234 May 27, 2019
d7c714e
Adds working fingerprint generations algorithm
arnav-mandal1234 May 28, 2019
47a227c
Modifies fingerprint.py to generalised code
arnav-mandal1234 May 28, 2019
70ffd24
Fixes edge cases in fingerprint.py
arnav-mandal1234 May 29, 2019
f6ad65e
fingerprint.py code refactored
arnav-mandal1234 May 31, 2019
10f6d5b
Modifies help.txt for adding new fingerprint plugin
arnav-mandal1234 Jun 4, 2019
7345037
Adds tests for plugin_fingerprint.py
arnav-mandal1234 Jun 8, 2019
1e0012f
Adds tests for fingerprint.py
arnav-mandal1234 Jun 8, 2019
d6b838c
code refactored
arnav-mandal1234 Jun 13, 2019
9bd3659
Changes bitarray_from_bytes() method to staticmethod
arnav-mandal1234 Jun 20, 2019
112312f
Adds similarity matching tests
arnav-mandal1234 Jun 22, 2019
6d88e49
Adds method docs in fingerprint.py
arnav-mandal1234 Jun 22, 2019
845651d
Update third-party dependencies
pombredanne Jun 22, 2019
ddd9368
Run all tests on all OSes/py2/py3 #1577 #295
pombredanne Jun 22, 2019
ea62b28
Use legal name for release job #1577
pombredanne Jun 22, 2019
53e7ef4
Run different test suites on each OS/Py combo #1577 #295
pombredanne Jun 23, 2019
ae7311c
Do not use YAML objects as variables in azure #1577
pombredanne Jun 23, 2019
1742304
Use unique names for azure jobs #1577 #295
pombredanne Jun 23, 2019
1956d9d
Make configure fail if rc is not 0
pombredanne Jun 23, 2019
9cd8263
Mark check tests as "scanslow" and linux-only
pombredanne Jun 23, 2019
f818c3a
Do not use variables on azure #1577 #295
pombredanne Jun 23, 2019
4b31760
Do not run on multiple process on mac/win #1577 #295
pombredanne Jun 23, 2019
685f772
Try to rerun heisen failures on Azure #1577
pombredanne Jun 23, 2019
eb0f34e
Add new tests of license rule name collision #295
Abhishek-Dev09 Jun 23, 2019
029fa08
Add support for Python3 to pyrpm #295
Abhishek-Dev09 Jun 23, 2019
81968ee
Reorganize ABOUT files for vendored code
Abhishek-Dev09 Jun 23, 2019
2f7f2ea
Reorganize ABOUT files for vendored typecode
Abhishek-Dev09 Jun 23, 2019
8e1ba26
Fsencode locations for file type checks #295
Abhishek-Dev09 Jun 23, 2019
097de7b
Adapt IO to spdx library returned type #295
Abhishek-Dev09 Jun 23, 2019
22844bb
Run minimally on Python 3.6 for now #295 #1577
pombredanne Jun 23, 2019
2dbaf68
Add new builds of pyahocorasick on macOS #1577
pombredanne Jun 24, 2019
3d7ba52
Refactors hamming_distance() function
arnav-mandal1234 Jun 24, 2019
48dab58
Do not mix bytes and strings in path #295
Abhishek-Dev09 Jun 23, 2019
7fea8d0
Store rpm tests expectations as JSON files #295
Abhishek-Dev09 Jun 25, 2019
6018141
Correct test expectation for Windows #295
Abhishek-Dev09 Jun 25, 2019
1b63030
Run ScanCode tests on a single thread #1577
pombredanne Jun 25, 2019
6c8bd42
Simplify appveyor and travis test suites
pombredanne Jun 25, 2019
786ea8a
Use single thread on Azure #1577 #295
pombredanne Jun 25, 2019
404b8c9
Trace execution on Azure #1577
pombredanne Jun 25, 2019
a315302
Add path.py to support Python 3 migration #295
pombredanne Jun 25, 2019
6491986
Be really quiet when configuring quiet
pombredanne Jun 25, 2019
1c0f0d2
Modifies hamming distance to int
arnav-mandal1234 Jun 25, 2019
ffb0c23
Merge branch '295-tests-and-setup' into develop
pombredanne Jun 25, 2019
c46dc2f
Merge pull request #1607 from Abhishek-Dev09/basestring-#295
pombredanne Jun 25, 2019
e3ab9d7
Merge pull request #1616 from Abhishek-Dev09/295-rpm
pombredanne Jun 25, 2019
94a2b93
Import 'io' instead of 'StringIO' on Python 3 #295
Abhishek-Dev09 Jun 19, 2019
835408a
Escape backslash in docstring on Python 3 #295
Abhishek-Dev09 Jun 19, 2019
ca723ae
Separate scan summary creation from display #295
Abhishek-Dev09 Jun 19, 2019
c3089d8
Merge pull request #1582 from 253-find-python-package
Jun 26, 2019
fe82055
Merge pull request #1608 from Abhishek-Dev09/#295-stringIO
pombredanne Jun 26, 2019
924f53d
Add missing dparse for Python3 #295
pombredanne Jun 28, 2019
abe7aaf
Fail configure on error
pombredanne Jun 28, 2019
a99bdb4
Do not use scancode code in configuration #295 #1631
pombredanne Jun 28, 2019
7efb498
Enable Ubuntu 18 and macOS 14 tests on Azure #295
pombredanne Jun 28, 2019
4d79bc1
Use correct YAML syntax
pombredanne Jun 30, 2019
02f8c16
Use mre descriptive job names
pombredanne Jun 30, 2019
f2a1d10
Align pipeline for RPMs with Debian
pombredanne Jun 30, 2019
867bb21
Do shallow clone and avoid ghost jobs on Azure
pombredanne Jun 30, 2019
272bddf
Simplify CI runs
pombredanne Jun 30, 2019
ee12ef8
Correct azure YAML
pombredanne Jun 30, 2019
87bbfd1
Do not use a matrix on azure containers
pombredanne Jun 30, 2019
b28f693
Fix typo in azure DSL
pombredanne Jun 30, 2019
3c80334
Skip byte vs. unicode tests on macOS 10.14+ #1635
pombredanne Jul 1, 2019
fe34787
Set locale in CI containers
pombredanne Jul 1, 2019
ef76de0
Correct typo in Ubuntu 18 job args
pombredanne Jul 1, 2019
d7fc651
Remove warning suppression in pip runs #295
pombredanne Jul 1, 2019
0fc44d1
Merge pull request #1634 from nexB/295-configure
pombredanne Jul 1, 2019
e83d316
Reorg CI by Python verion. Run only what's needed
pombredanne Jul 2, 2019
5d56f78
Do not update bin permissions in configure
pombredanne Jul 2, 2019
23bbd41
Move macOS 10.14 check to commoncode.system #1635
pombredanne Jul 2, 2019
35a5783
Skip and differentiate macOS 1014 tests #1635
pombredanne Jul 2, 2019
8009fcb
Use Scripts path on Windows #295
pombredanne Jul 2, 2019
7f01597
Remove chmod code in configure #1631
pombredanne Jul 2, 2019
96e1d87
Add new AGPL license notice
pombredanne Jun 20, 2019
b6dc344
The mozilla tri license is an OR not AND
pombredanne Jun 20, 2019
2657fba
Add rarer choice of GPL 2 or 3
pombredanne Jun 20, 2019
39f3161
Add new rules for a tri EPL/GPL/LGPL license #1611
pombredanne Jun 20, 2019
3ed663b
The mozilla tri license is an OR not AND
pombredanne Jun 20, 2019
9384e68
Add more rules for a tri EPL/GPL/LGPL license #1611
pombredanne Jun 25, 2019
0daae31
Correct license test
pombredanne Jun 25, 2019
7dcc0cd
Ensure license detection tracing works
pombredanne Jun 25, 2019
0f16dfa
Add new and improved license rules
pombredanne Jun 26, 2019
af8538b
Remove unused tracing tag
pombredanne Jun 26, 2019
f3c5be6
Improve error message
pombredanne Jun 26, 2019
14d6acc
Remove unused test files
pombredanne Jun 26, 2019
a6b19ca
Add new test for matched texts on near duplicates
pombredanne Jun 26, 2019
9594260
Add test for license detection bug #1621
pombredanne Jun 26, 2019
916af4c
Add test for license detection bug #1622
pombredanne Jun 26, 2019
2c05f96
Add test for license detection bug #1623
pombredanne Jun 26, 2019
6480080
Add test for license detection bug #1624
pombredanne Jun 26, 2019
4a34e81
Add test for license detection bug #1625
pombredanne Jun 26, 2019
e43c881
Add new l/GPL license detection rules
pombredanne Jun 26, 2019
3d9c2af
Add misc new license detection rules
pombredanne Jun 26, 2019
4941034
Update license tests from latest rules
pombredanne Jun 26, 2019
607dc38
Add new MIT license detection rule
pombredanne Jun 26, 2019
cf38a37
Add new license detection rules found in lz4 #1623
pombredanne Jun 27, 2019
fa9f1b0
Add new and improved license rules
pombredanne Jun 27, 2019
6feb585
Add new and improved license and rules for HDF5 #1629
pombredanne Jun 27, 2019
ebc1b64
Add new license rules and test for ltrace #1621
pombredanne Jun 27, 2019
08ab900
Add new rules based on a valgrind scan #1625
pombredanne Jun 27, 2019
01869cc
Add new license rules and test for linux #1621
pombredanne Jun 29, 2019
db21d5c
Add new license rules for older samba #1617
pombredanne Jun 29, 2019
1226c9a
Add new negative rule for lgplv3 #1620
pombredanne Jun 29, 2019
2954431
Add rule for dual gpl 2 or 3 #1619
pombredanne Jun 29, 2019
3e093d8
Add rule for gpl 2 in RTF EULA #1618
pombredanne Jun 29, 2019
3234627
Update license tests with latest expectations
pombredanne Jun 29, 2019
9a415bc
Add new and improved misc license rules
pombredanne Jun 30, 2019
47ddaf2
Ensure that legacy SPDX ids are recognized
pombredanne Jun 30, 2019
21e1a64
Update WC-reated license tests and rules
pombredanne Jun 30, 2019
727cb2e
Do not treat "id" as a stopword
pombredanne Jul 2, 2019
4061a37
Deactivate rules that trigger false positive #1633
pombredanne Jul 2, 2019
9e3104a
Add new and improved license rules
pombredanne Jul 2, 2019
d80d9cb
Update test expectations to match rules
pombredanne Jul 2, 2019
8aca55f
Adding Path.py as dependencies for porting path #295
Abhishek-Dev09 Jul 2, 2019
55b3ad4
Merge pull request #1612 from nexB/new-licenses-06-20
pombredanne Jul 3, 2019
58b3131
Merge pull request #1639 from Abhishek-Dev09/#1610-path
pombredanne Jul 3, 2019
2b1c478
Use 'str' instead of 'unicode' #295
Abhishek-Dev09 Jul 4, 2019
2d1e609
Use proper location for path.py requirement #295
pombredanne Jul 4, 2019
d5b658a
Really cache license matched text tokenization
pombredanne Jul 6, 2019
f4780ec
Add new license rules
pombredanne Jul 6, 2019
63e62fb
Use pytest markers for expected failures
pombredanne Jul 7, 2019
847debb
Add new and imrpoved license detection rules
pombredanne Jul 9, 2019
c90e02e
Add new and improved license rules from NuGet
pombredanne Jul 9, 2019
a61bf8d
Add new and improved license rules
pombredanne Jul 9, 2019
9b2d137
Add new and improved license and rules
pombredanne Jul 9, 2019
ed997c2
License is not a Noun for Copyrights
pombredanne Jul 9, 2019
d33b237
Format YAML for data-driven license tests
pombredanne Jul 10, 2019
3aba31a
Improve license tests
pombredanne Jul 10, 2019
92761ab
Ensure that failing tests fail on Azure #295
pombredanne Jul 10, 2019
a7948f8
Make walk test function pass on Linux/py36 #295
pombredanne Jul 10, 2019
b53bc16
Use 'str' instead of 'unicode' #295
pombredanne Jul 10, 2019
8efa043
Merge pull request #1641 from Abhishek-Dev09/#295-commoncode
pombredanne Jul 10, 2019
c546dfa
Add new and improved license rules
pombredanne Jul 10, 2019
23fadfe
Use correct SPDX id case
pombredanne Jul 11, 2019
e8f87ac
Update to latest SPDX license list 3.6
pombredanne Jul 11, 2019
17ecf0f
Add new and improve existing licenses
pombredanne Jul 11, 2019
8c6d6ed
Make license short name... short
pombredanne Jul 11, 2019
e382527
Do not new category for hardware licenses
pombredanne Jul 11, 2019
a12a233
Update rule relevance for some short rules
pombredanne Jul 11, 2019
6d5520d
Fix copyright bug with ALL CAPS
pombredanne Jul 11, 2019
b4846fd
Handle OK npm with multiple licenses attributes
pombredanne Jul 11, 2019
8f1bd80
Add misc new license rules
pombredanne Jul 11, 2019
c7f3e27
Do not truncate some copyrights
pombredanne Jul 11, 2019
688cf97
Improve copyright test failures output
pombredanne Jul 11, 2019
b728748
Improve some copyright tests expectations
pombredanne Jul 11, 2019
89a5af3
Do not exit on errors if sourcing configure #1647
pombredanne Jul 12, 2019
d7fee0b
Merge pull request #1646 from nexB/license-updates-07-10
pombredanne Jul 12, 2019
a73adf5
adds plugin_fingerprint file and imports
arnav-mandal1234 May 25, 2019
650594c
Adds plugin_fingerprint
arnav-mandal1234 May 25, 2019
693ad77
adds fingerprint plugin in the setup.py
arnav-mandal1234 May 26, 2019
54956d0
Adds functions and imports to incorporate fingerprint generation algo…
arnav-mandal1234 May 27, 2019
6b00d66
Adds working fingerprint generations algorithm
arnav-mandal1234 May 28, 2019
089a081
Modifies fingerprint.py to generalised code
arnav-mandal1234 May 28, 2019
3eda4b9
Fixes edge cases in fingerprint.py
arnav-mandal1234 May 29, 2019
cd18cb3
fingerprint.py code refactored
arnav-mandal1234 May 31, 2019
0d4c3db
Modifies help.txt for adding new fingerprint plugin
arnav-mandal1234 Jun 4, 2019
3f7bc62
Adds tests for plugin_fingerprint.py
arnav-mandal1234 Jun 8, 2019
298a7ee
Adds tests for fingerprint.py
arnav-mandal1234 Jun 8, 2019
31f6bf3
code refactored
arnav-mandal1234 Jun 13, 2019
f54d388
Changes bitarray_from_bytes() method to staticmethod
arnav-mandal1234 Jun 20, 2019
8c8fc20
Adds similarity matching tests
arnav-mandal1234 Jun 22, 2019
bf5bd63
Adds method docs in fingerprint.py
arnav-mandal1234 Jun 22, 2019
7943fdb
Refactors hamming_distance() function
arnav-mandal1234 Jun 24, 2019
1ac4c1c
Rebased with master and refactored code structure
arnav-mandal1234 Jul 15, 2019
fcf106a
Merge branch 'gsoc_fingerprint' of https://github.com/arnav-mandal123…
arnav-mandal1234 Jul 15, 2019
3ec7854
Refactors code structure
arnav-mandal1234 Jul 15, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# never convert crlf
* binary
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,5 @@ pyvenv.cfg
/.python-version
/man/
/.pytest_cache/
lib64
tcl
92 changes: 9 additions & 83 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,21 @@
language: python

python:
- 2.7.13
- 2.7

# Use a matrix of TEST_SUITE variables to distribute tests to several machines
# Use a global PYTEST variable to run all of the tests in a uniform fashion
# The --cov-report=term option displays coverage in CI logs
# The --cov-report=xml option is important for codecov.ioTestFossLicDataDriven
env:
global:
- PYTEST="bin/py.test -n 2 -vvs --test-suite=all --cov=src --cov-report=term --cov-report=xml"
- PYTESTCOVR="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml"
- PYTESTBASE="bin/py.test -vvs --reruns 3"
matrix:
- TEST_SUITE="$PYTEST --ignore=tests/scancode --ignore=tests/extractcode --ignore=tests/licensedcode --ignore=tests/cluecode --ignore=tests/packagedcode"
- TEST_SUITE="$PYTEST tests/scancode"
- TEST_SUITE="$PYTEST tests/extractcode"
- TEST_SUITE="$PYTEST tests/licensedcode --ignore=tests/licensedcode/test_zzzz_cache.py --ignore=tests/licensedcode/test_detection_datadriven.py"
- TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestLicenseDataDriven"
- TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestLicenseRetrographyDataDriven"
- TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestLicenseSpdxDataDriven"
- TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestLicenseToolsDataDriven"
- TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestSlicDataDriven"
- TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestFossLicDataDriven"
- TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestDebLicCheckTestsDataDriven"
- TEST_SUITE="$PYTEST tests/licensedcode/test_zzzz_cache.py"
- TEST_SUITE="$PYTEST tests/cluecode"
- TEST_SUITE="$PYTEST tests/packagedcode"
- TEST_SUITE="$PYTESTCOVR -n2 --ignore=tests/scancode --ignore=tests/licensedcode/test_zzzz_cache.py"
- TEST_SUITE="$PYTESTCOVR tests/licensedcode/test_zzzz_cache.py"
- TEST_SUITE="$PYTESTCOVR tests/scancode"
- TEST_SUITE="./etc/release/release.sh"
- TEST_SUITE="bin/about check thirdparty/"
- TEST_SUITE="bin/about check src/"
- TEST_SUITE="bin/about check etc/"
- TEST_SUITE="bin/about check plugins/"


# Travis does not offer OSX with arbitrary python versions (like 2.7.13 above)
Expand All @@ -50,81 +36,21 @@ env:
matrix:
include:
- os: osx
env: TEST_SUITE="$PYTEST --ignore=tests/scancode --ignore=tests/extractcode --ignore=tests/licensedcode --ignore=tests/cluecode --ignore=tests/packagedcode"
env: TEST_SUITE="$PYTESTBASE -n2 --ignore=tests/scancode --ignore=tests/licensedcode/test_zzzz_cache.py"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/scancode"
env: TEST_SUITE="$PYTESTBASE tests/scancode"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/extractcode"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/licensedcode --ignore=tests/licensedcode/test_zzzz_cache.py --ignore=tests/licensedcode/test_detection_datadriven.py"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestLicenseDataDriven"
language: generic
python:
osx_image: xcode7.3
- env: TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestLicenseRetrographyDataDriven"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestLicenseSpdxDataDriven"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestLicenseToolsDataDriven"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestSlicDataDriven"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestFossLicDataDriven"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/licensedcode/test_detection_datadriven.py -k TestDebLicCheckTestsDataDriven"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/licensedcode/test_zzzz_cache.py"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/cluecode"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="$PYTEST tests/packagedcode"
language: generic
python:
osx_image: xcode7.3
- os: osx
env: TEST_SUITE="./etc/release/release.sh"
env: TEST_SUITE="$PYTESTBASE tests/licensedcode/test_zzzz_cache.py"
language: generic
python:
osx_image: xcode7.3

# TODO: ship pytest-cov and codecov with scancode-toolkit
install:
- ./configure

Expand Down
37 changes: 23 additions & 14 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,34 +1,43 @@
graft src
graft etc
graft src
graft thirdparty
graft plugins
graft samples
graft docs

graft tests
graft plugins
graft plugins-builtin

prune src/scancode_toolkit.egg-info

include AUTHORS.rst
include CHANGELOG.rst
include README.rst
include CONTRIBUTING.rst
include .bumpversion.cfg
include .coveragerc
include .gitattributes
include .gitignore
include .travis.yml
include apache-2.0.LICENSE
include appveyor.yml
include AUTHORS.rst
include azure-pipelines.yml
include cc0-1.0.LICENSE
include NOTICE
include MANIFEST.in
include setup.py
include setup.cfg
include .gitignore
include CHANGELOG.rst
include codecov.yml
include configure
include configure.bat
include conftest.py
include CONTRIBUTING.rst
include extractcode
include extractcode.bat
include ISSUE_TEMPLATE.md
include MANIFEST.in
include NOTICE
include pyvenv.cfg
include README.rst
include scancode
include scancode-toolkit.ABOUT
include scancode.bat
include extractcode
include extractcode.bat
include .travis.yml appveyor.yml
include setup.cfg
include setup.py

exclude SCANCODE_DEV_MODE

Expand Down
22 changes: 3 additions & 19 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
version: '{build}'

environment:
matrix:
- TEST_SUITE: "py.test -n 2 -vvs --test-suite=all --ignore=tests/scancode --ignore=tests/extractcode --ignore=tests/licensedcode --ignore=tests/cluecode --ignore=tests/packagedcode"
- TEST_SUITE: "py.test -n 2 -vvs --test-suite=all tests/scancode"
- TEST_SUITE: "py.test -n 2 -vvs --test-suite=all tests/extractcode"
- TEST_SUITE: "py.test -n 2 -vvs --test-suite=all tests/licensedcode --ignore=tests/licensedcode/test_zzzz_cache.py --ignore=tests/licensedcode/test_detection_datadriven.py"
- TEST_SUITE: "py.test -n 2 --test-suite=all tests/licensedcode/test_detection_datadriven.py -k TestLicenseDataDriven"
- TEST_SUITE: "py.test -n 2 --test-suite=all tests/licensedcode/test_detection_datadriven.py -k TestLicenseRetrographyDataDriven"
- TEST_SUITE: "py.test -n 2 --test-suite=all tests/licensedcode/test_detection_datadriven.py -k TestLicenseSpdxDataDriven"
- TEST_SUITE: "py.test -n 2 --test-suite=all tests/licensedcode/test_detection_datadriven.py -k TestLicenseToolsDataDriven"
- TEST_SUITE: "py.test -n 2 --test-suite=all tests/licensedcode/test_detection_datadriven.py -k TestSlicDataDriven"
- TEST_SUITE: "py.test -n 2 --test-suite=all tests/licensedcode/test_detection_datadriven.py -k TestFossLicDataDriven"
- TEST_SUITE: "py.test -n 2 --test-suite=all tests/licensedcode/test_detection_datadriven.py -k TestDebLicCheckTestsDataDriven"
- TEST_SUITE: "py.test -vvs --test-suite=all tests/licensedcode/test_zzzz_cache.py"
- TEST_SUITE: "py.test -n 2 --test-suite=all -s tests/cluecode"
- TEST_SUITE: "py.test -n 2 --test-suite=all -s tests/packagedcode"
- TEST_SUITE: "py.test -vvs --reruns 3 -n2 --ignore=tests/scancode --ignore=tests/licensedcode/test_zzzz_cache.py"
- TEST_SUITE: "py.test -vvs --reruns 3 tests/scancode"
- TEST_SUITE: "py.test -vvs --reruns 3 tests/licensedcode/test_zzzz_cache.py"

install:
- configure
Expand All @@ -26,6 +13,3 @@ build: off
test_script:
- python -c "import sys;print sys.getdefaultencoding()"
- cmd: "%TEST_SUITE%"

on_failure:
- "python etc/scripts/irc-notify.py aboutcode [{project_name}:{branch}] {short_commit}: \"{message}\" ({author}) {color_red}Failed - {build_url}"
Loading