diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..8a93d60 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,38 @@ +version: 2 +jobs: + php: + working_directory: ~/qr + docker: + - image: circleci/php:7 + steps: + - checkout: + path: ~/qr + - run: composer install + - run: ./vendor/bin/phpunit php/tests +# js: +# working_directory: ~/qr/js +# docker: +# - image: circleci/node:8 +# steps: +# - checkout: +# path: ~/qr +# - run: npm install +# - run: ./node_modules/.bin/mocha + jvm: + working_directory: ~/qr/jvm + docker: + - image: circleci/openjdk:8 + steps: + - checkout: + path: ~/qr + - run: ./gradlew check jacocoTestReport + - store_test_results: + path: ./build/test-results + +workflows: + version: 2 + test: + jobs: + - php +# - js + - jvm diff --git a/.gitignore b/.gitignore index d08ff8b..462699c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .idea - +build/ /vendor/ diff --git a/README.md b/README.md index b6e569a..83a8e0f 100644 --- a/README.md +++ b/README.md @@ -1 +1,10 @@ # UONET+ QR Code converter + +[![CircleCI](https://img.shields.io/circleci/project/github/wulkanowy/qr/master.svg?style=for-the-badge)](https://circleci.com/gh/wulkanowy/qr) +[![JitPack](https://img.shields.io/jitpack/v/wulkanowy/qr.svg?style=for-the-badge)](https://jitpack.io/#wulkanowy/qr) +[![Packagist Pre Release](https://img.shields.io/packagist/vpre/wulkanowy/qr.svg?style=for-the-badge)](https://packagist.org/packages/wulkanowy/qr) + +## Implementations + +- [Java](https://github.com/wulkanowy/qr/tree/master/jvm) +- [PHP](https://github.com/wulkanowy/qr/tree/master/php)