Permalink
Browse files

Set up FOSSA

Also remove an unused CI script
  • Loading branch information...
rock3r committed Oct 18, 2018
1 parent 0f885e5 commit c222ef622046d5d09e25f961ae93e8ba3ce1e256
Showing with 50 additions and 44 deletions.
  1. +0 −44 .circleci/ci-scripts/circle-ci-android-setup.sh
  2. +1 −0 .circleci/ci-scripts/install-fossa.sh
  3. +27 −0 .circleci/config.yml
  4. +22 −0 .fossa.yml

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1 @@
curl -H "Cache-Control: no-cache" https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
@@ -1,6 +1,11 @@
version: 2
aliases:
# FOSSA CLI install
- &install-fossa-cli
name: Install FOSSA CLI
command: workspace/repo/.circleci/ci-scripts/install-fossa.sh
# Build Tools cache aliases
- &restore-build-tools-cache
name: Restore Android build tools cache
@@ -134,6 +139,25 @@ jobs:
- store_test_results:
path: workspace/repo/app/build/test-results
license_checks:
<<: *circle_ci_android_container_config
steps:
- *attach_workspace
- restore_cache: *restore-gradle-cache
- restore_cache: *restore-android-build-cache
- restore_cache: *restore-build-tools-cache
- run: *install-fossa-cli
- run:
name: Run FOSSA license check
command: fossa --no-ansi
working_directory: workspace/repo
- run:
name: Wait for FOSSA license check to complete
command: fossa test --no-ansi
working_directory: workspace/repo
workflows:
version: 2
build_and_test:
@@ -148,3 +172,6 @@ workflows:
- tests:
requires:
- prepare_for_checks
- license_checks:
requires:
- prepare_for_checks
@@ -0,0 +1,22 @@
# Generated by FOSSA CLI (https://github.com/fossas/fossa-cli)
# Visit https://fossa.io to learn more
version: 1
cli:
server: https://app.fossa.io
fetcher: custom
project: git@github.com:squanchy-dev/squanchy-android.git
analyze:
modules:
- name: app
type: gradle
target: .
path: .
options:
project: app
- name: renderthread
type: gradle
target: .
path: .
options:
project: renderthread

0 comments on commit c222ef6

Please sign in to comment.