Skip to content

Commit

Permalink
feat(travis): add fossa integration to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
chefsale committed Jan 27, 2021
1 parent dbfc605 commit 18059e1
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
language: node_js

node_js: 10

env:
- NODE_ENV=ci
- NODE_ENV=ci-betanet
# - NODE_ENV=betanet

cache: yarn
script:
- yarn lint
- yarn test
- yarn browserify && yarn run bundlewatch


jobs:
include:
- name: yarn
script:
- yarn lint
- yarn test
- yarn browserify && yarn run bundlewatch

- name: fossa
before_script:
- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/fc60c6631a5d372d5a45fea35e31665b338f260d/install.sh | sudo bash"
script:
- fossa init
- fossa analyze --server-scan
- fossa test

0 comments on commit 18059e1

Please sign in to comment.