From 270e93d39eae88fc6fe840eda3b3b35aea8ddd7a Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Mon, 6 Apr 2020 19:12:10 +0300 Subject: [PATCH] Squashed commit of the following: commit 4994c48a75a8791e841710f5cf11d55a2eb6eac5 Author: ErickSkrauch Date: Mon Apr 6 19:01:29 2020 +0300 Move fossa run to the separate job commit 61b797194a0641b126f6daf41d1e1e60fbe7bc8a Author: ErickSkrauch Date: Mon Apr 6 18:49:57 2020 +0300 Update fossa integration commit 06a8070df84da5122ec55b6b1450d5cd5cbb4cb8 Merge: 53296c7 d79e765 Author: ErickSkrauch Date: Mon Apr 6 17:47:55 2020 +0300 Merge branch 'master' of https://github.com/fossabot/chrly into fossabot-master commit d79e765bb0fb0955f5074e5f496e76eb27574c3e Author: fossabot Date: Sun Apr 5 07:31:43 2020 -0700 Add license scan report and status Signed-off-by: fossabot --- .travis.yml | 18 ++++++++++++++++-- README.md | 7 +++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 07255d9..90efd52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,12 +15,26 @@ install: jobs: include: - - stage: test + # Test stage + - name: Unit tests + stage: test script: - go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... - bash <(curl -s https://codecov.io/bash) - - stage: deploy + - name: FOSSA + stage: test + before_script: + - curl https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash + script: + - fossa init + - fossa analyze + after_success: + - fossa test + + # Deploy stage + - name: Docker image + stage: deploy services: - docker script: diff --git a/README.md b/README.md index b91631c..86073e8 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![Coverage][ico-coverage]][link-coverage] [![Keep a Changelog][ico-changelog]](CHANGELOG.md) [![Software License][ico-license]](LICENSE) +[![FOSSA Status][ico-fossa]][link-fossa] Chrly is a lightweight implementation of Minecraft skins system server with ability to proxy requests to Mojang's skins system. It's packaged and distributed as a Docker image and can be downloaded from @@ -351,12 +352,18 @@ If your Redis instance isn't located at the `localhost`, you can change host by After all of that `go run main.go serve` should successfully start the application. To run tests execute `go test ./...`. +## License +[![FOSSA Status][ico-fossa-big]][link-fossa] + [ico-lang]: https://img.shields.io/badge/lang-go%201.14-blue.svg?style=flat-square [ico-build]: https://img.shields.io/travis/elyby/chrly.svg?style=flat-square [ico-coverage]: https://img.shields.io/codecov/c/github/elyby/chrly.svg?style=flat-square [ico-changelog]: https://img.shields.io/badge/keep%20a-changelog-orange.svg?style=flat-square [ico-license]: https://img.shields.io/github/license/elyby/chrly.svg?style=flat-square +[ico-fossa]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Felyby%2Fchrly.svg?type=shield +[ico-fossa-big]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Felyby%2Fchrly.svg?type=large [link-go]: https://golang.org [link-build]: https://travis-ci.org/elyby/chrly [link-coverage]: https://codecov.io/gh/elyby/chrly +[link-fossa]: https://app.fossa.io/projects/git%2Bgithub.com%2Felyby%2Fchrly