Add ci config, update readme
This commit is contained in:
parent
2293b89588
commit
71d1dd589a
3 changed files with 48 additions and 1 deletions
38
.circleci/config.yml
Normal file
38
.circleci/config.yml
Normal 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
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
|||
.idea
|
||||
|
||||
build/
|
||||
/vendor/
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue