Skip to content

Commit be837b7

Browse files
author
ismael_serrano
committed
Add license scan with travis and fossa
1 parent f97663c commit be837b7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: go
2+
sudo: required
3+
services:
4+
- docker
5+
go:
6+
- "1.10"
7+
before_install:
8+
- echo "PR Slug:${TRAVIS_PULL_REQUEST_SLUG}"
9+
- if [[ "${TRAVIS_PULL_REQUEST_SLUG}" == "nginxinc/nginx-asg-sync" || "${TRAVIS_PULL_REQUEST}" == "false" ]]; then
10+
wget https://${fossalocation}/${fossafile} && tar xzf ${fossafile}
11+
&& ./fossa init
12+
&& FOSSA_API_KEY=${fossapush} ./fossa analyze -t nginx-asg-sync -b ${TRAVIS_BRANCH} ; fi

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Go Report Card](https://goreportcard.com/badge/github.com/nginxinc/nginx-asg-sync)](https://goreportcard.com/report/github.com/nginxinc/nginx-asg-sync)
1+
[![FOSSA Status](https://app.fossa.io/api/projects/custom%2B1062%2Fgithub.com%2Fnginxinc%2Fnginx-asg-sync.svg?type=shield)](https://app.fossa.io/projects/custom%2B1062%2Fgithub.com%2Fnginxinc%2Fnginx-asg-sync?ref=badge_shield) [![Go Report Card](https://goreportcard.com/badge/github.com/nginxinc/nginx-asg-sync)](https://goreportcard.com/report/github.com/nginxinc/nginx-asg-sync)
22

33
# NGINX Plus Integration with AWS Auto Scaling groups -- nginx-asg-sync
44

0 commit comments

Comments
 (0)