Skip to content

Commit

Permalink
Fossa only for nginxinc (#337)
Browse files Browse the repository at this point in the history
* Fossa will analyse only PRs and branches from nginxinc

* We analyse licenses on nginxinc branches
  • Loading branch information
isserrano committed Aug 14, 2018
1 parent b8acd63 commit 754beba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -9,8 +9,8 @@ script:
- cd nginx-controller &&
make BUILD_IN_CONTAINER=0 container;
before_install:
- echo "Repo Slug:${TRAVIS_REPO_SLUG}"
- if [ "${TRAVIS_REPO_SLUG}" == "nginxinc/kubernetes-ingress" ]; then
- echo "PR Slug:${TRAVIS_PULL_REQUEST_SLUG}"
- if [[ "${TRAVIS_PULL_REQUEST_SLUG}" == "nginxinc/kubernetes-ingress" || "${TRAVIS_PULL_REQUEST}" == "false" ]]; then
wget https://${fossalocation}/${fossafile} && tar xzf ${fossafile}
&& ./fossa init
&& ./fossa analyze -t kubernetes-ingress -b ${TRAVIS_BRANCH}; fi
Expand Down

0 comments on commit 754beba

Please sign in to comment.