mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Merge pull request #892 from lukpueh/add-fossa-cli
Add fossa cli config for license scanning
This commit is contained in:
commit
21c3285216
3 changed files with 28 additions and 1 deletions
17
.fossa.yml
Executable file
17
.fossa.yml
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by FOSSA CLI (https://github.com/fossas/fossa-cli)
|
||||
# Visit https://fossa.com to learn more
|
||||
|
||||
version: 2
|
||||
cli:
|
||||
server: https://app.fossa.com
|
||||
fetcher: custom
|
||||
project: github.com/theupdateframework/tuf
|
||||
analyze:
|
||||
modules:
|
||||
- name: tuf
|
||||
type: pip
|
||||
target: .
|
||||
path: .
|
||||
options:
|
||||
strategy: requirements
|
||||
requirements: requirements.txt
|
||||
10
.travis.yml
10
.travis.yml
|
|
@ -2,6 +2,12 @@ dist: xenial
|
|||
language: python
|
||||
cache: pip
|
||||
|
||||
|
||||
env:
|
||||
global:
|
||||
# NOTE: Public push only token (can't be used to read or edit project info)
|
||||
- FOSSA_API_KEY=cbc317812661645ea400ab9ee6c7616a
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- python: "2.7"
|
||||
|
|
@ -22,8 +28,12 @@ matrix:
|
|||
install:
|
||||
- pip install tox coveralls
|
||||
|
||||
before_script:
|
||||
- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"
|
||||
|
||||
script:
|
||||
- tox
|
||||
- fossa
|
||||
|
||||
after_success:
|
||||
# Workaround to get coverage reports with relative paths.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
[](https://coveralls.io/r/theupdateframework/tuf?branch=develop)
|
||||
[](https://pyup.io/repos/github/theupdateframework/tuf/)
|
||||
[](https://pyup.io/repos/github/theupdateframework/tuf/)
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2Ftheupdateframework%2Ftuf?ref=badge_shield)
|
||||
[](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Ftheupdateframework%2Ftuf?ref=badge_shield)
|
||||
[](https://bestpractices.coreinfrastructure.org/projects/1351)
|
||||
|
||||
----------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue