Skip to content

Commit 21c3285

Browse files
author
lukpueh
authored
Merge pull request #892 from lukpueh/add-fossa-cli
Add fossa cli config for license scanning
2 parents f79ee33 + 1c750ff commit 21c3285

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.fossa.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by FOSSA CLI (https://github.com/fossas/fossa-cli)
2+
# Visit https://fossa.com to learn more
3+
4+
version: 2
5+
cli:
6+
server: https://app.fossa.com
7+
fetcher: custom
8+
project: github.com/theupdateframework/tuf
9+
analyze:
10+
modules:
11+
- name: tuf
12+
type: pip
13+
target: .
14+
path: .
15+
options:
16+
strategy: requirements
17+
requirements: requirements.txt

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ dist: xenial
22
language: python
33
cache: pip
44

5+
6+
env:
7+
global:
8+
# NOTE: Public push only token (can't be used to read or edit project info)
9+
- FOSSA_API_KEY=cbc317812661645ea400ab9ee6c7616a
10+
511
matrix:
612
include:
713
- python: "2.7"
@@ -22,8 +28,12 @@ matrix:
2228
install:
2329
- pip install tox coveralls
2430

31+
before_script:
32+
- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"
33+
2534
script:
2635
- tox
36+
- fossa
2737

2838
after_success:
2939
# Workaround to get coverage reports with relative paths.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Coveralls](https://coveralls.io/repos/theupdateframework/tuf/badge.svg?branch=develop)](https://coveralls.io/r/theupdateframework/tuf?branch=develop)
55
[![PyUp](https://pyup.io/repos/github/theupdateframework/tuf/shield.svg)](https://pyup.io/repos/github/theupdateframework/tuf/)
66
[![Python 3](https://pyup.io/repos/github/theupdateframework/tuf/python-3-shield.svg)](https://pyup.io/repos/github/theupdateframework/tuf/)
7-
[![FOSSA](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftheupdateframework%2Ftuf.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftheupdateframework%2Ftuf?ref=badge_shield)
7+
[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Ftheupdateframework%2Ftuf.svg?type=shield)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Ftheupdateframework%2Ftuf?ref=badge_shield)
88
[![CII](https://bestpractices.coreinfrastructure.org/projects/1351/badge)](https://bestpractices.coreinfrastructure.org/projects/1351)
99

1010
----------------------------

0 commit comments

Comments
 (0)