-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fossa scan to ensure we can release under apache v2 #2893
Conversation
what is this and why is it needed ? |
.travis.yml
Outdated
@@ -4,7 +4,7 @@ cache: | |||
directories: | |||
- tmp/rubocop_cache | |||
- node_modules | |||
sudo: false | |||
sudo: required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only switch for the new job
.travis.yml
Outdated
@@ -25,3 +25,13 @@ before_script: | |||
- mysql -u root -e 'set GLOBAL innodb_file_format = "barracuda"' | |||
- mysql -u root -e 'GRANT ALL ON *.* TO 'travis'@'localhost';' | |||
script: bundle exec rake $TASK | |||
jobs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jobs -> matrix
.travis.yml
Outdated
script: | ||
- fossa init | ||
- fossa analyze --branch master | ||
env: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put something like TASK=FOSSA
here so that it shows nicely in the build overview page
.travis.yml
Outdated
jobs: | ||
include: | ||
- stage: fossa | ||
before_script: curl -H 'Cache-Control:no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe better to put init here since we only want the analyze output in the job output
7ece678
to
ee21dcb
Compare
467d38a
to
1b97555
Compare
... so ask the fossa guys how long scans usually take ... |
daaf049
to
df61668
Compare
need fossas/fossa-cli#247 to be resolved first :( |
2cb3084
to
f2fbc75
Compare
@ragurney looks good ? |
TODO:
/cc @zendesk/samson