Add ci config, update readme

This commit is contained in:
Mikołaj Pich 2019-01-09 18:15:38 +01:00
parent 2293b89588
commit 71d1dd589a
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
3 changed files with 48 additions and 1 deletions

38
.circleci/config.yml Normal file
View file

@ -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

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
.idea
build/
/vendor/

View file

@ -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)